summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/setenv.c
Commit message (Collapse)AuthorAgeFilesLines
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-96/+92
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-1/+0
| | | | most of global data relocations are back
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-261-1/+3
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+1
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+2
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-20/+26
| | | | missing headers, other jump relocs removed
* New hidden versionsPeter S. Mazinger2005-12-161-1/+2
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-6/+3
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-12/+12
|
* Hiding againPeter S. Mazinger2005-11-291-2/+4
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-271-0/+2
|
* Some more hidden internalsPeter S. Mazinger2005-11-261-1/+1
|
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-2/+2
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Silly name changeEric Andersen2002-06-181-4/+3
|
* Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III2002-06-171-1/+2
| | | | At least people can play with it. Also, fix a buglet in setenv.c.
* Kill the libc-lock headers, which we do not use and which areEric Andersen2002-06-101-6/+7
| | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik
* Doh!Eric Andersen2002-06-011-1/+1
|
* Rework setenv, getenv and friends per the latest glibc code, but cleanedEric Andersen2002-05-301-120/+177
| | | | | up for readability. Merge in putenv. Add clearenv as a side effect. -Erik
* Update to accomodate the header file changesEric Andersen2001-09-271-1/+2
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-1/+1
| | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
* Use __environ instead of the GNU extension environ.Eric Andersen2001-02-091-3/+0
| | | | -Erik
* Fix up a few messes so it compiles cleanly again.Eric Andersen2000-11-111-0/+1
|
* Add some more stuff -- {get|set}mntent, getline, getdelim, etc.Eric Andersen2000-10-261-58/+126
|
* Bug ugly formatting updateEric Andersen2000-10-091-60/+62
|
* Lots and lots of cleanups.Eric Andersen2000-07-061-1/+2
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+73