summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup some silly warningsEric Andersen2002-08-085-5/+11
|
* Avoid bad things happening on macro expansion...Eric Andersen2002-08-081-2/+7
| | | | -Erik
* Cleanup to avoid some undefined behaviorEric Andersen2002-08-082-76/+74
| | | | -Erik
* Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for"Steven J. Hill"2002-08-071-1/+1
| | | | MIPS platforms.
* Add getrpcent.c to default rpc buildEric Andersen2002-08-071-1/+2
|
* Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen2002-08-074-211/+183
| | | | | (IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
* Remove some noiseEric Andersen2002-08-071-13/+0
|
* Changed my mind. Keep this separate.Eric Andersen2002-08-071-0/+41
| | | | -Erik
* Rewrite getenvEric Andersen2002-08-071-25/+0
|
* rework getopt. no read need to split this one up sinceEric Andersen2002-08-072-583/+502
| | | | the parts are so tightly coupled.
* missed a fileEric Andersen2002-08-071-0/+1
|
* getopt testsEric Andersen2002-08-074-1/+179
|
* Updates to the working apps list from Kagan Kongar. Thanks!Eric Andersen2002-08-071-15/+39
|
* Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen2002-08-071-1/+6
| | | | | Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.
* Message catalog support for internationalization is not currentlyEric Andersen2002-08-071-0/+18
| | | | | provided by uClibc, and here I have added macros to disable it. -Erik
* Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen2002-08-074-11/+15
| | | | | | Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
* When symbols are missing, its supposed to be an error...Eric Andersen2002-08-061-0/+3
| | | | -Erik
* Several pthreads updates. Enable linuxthreads_db. Several fixesEric Andersen2002-08-0645-424/+427
| | | | | related to thread local storage. -Erik
* Fixup the last missing pieces of thread lockingEric Andersen2002-08-061-22/+80
| | | | -Erik
* Rework RPC code once again. By default, only enable theEric Andersen2002-08-0614-33/+708
| | | | | stuff needed for NFS mounts, rsh, and similar. -Erik
* Enable getpt prototype.Manuel Novoa III2002-08-061-2/+3
|
* Changed fflush() behavior to no-op for r/w streams in read-mode.Manuel Novoa III2002-08-061-17/+33
| | | | | | | | | | | | | This falls under undefined behavior wrt ANSI/ISO C99, but SUSv3 seems to treat it as a no-op and it occurs in some apps. Fixed a problem with _stdio_fwrite() not checking for underlying write() failures. Fixed both _stdio_fwrite() and _stdio_fread() to make sure that the putc and getc macros were disabled if the stream was in and error state. The above changes should take care of a problem initially reported by "Steven J. Hill" <sjhill@realitydiluted.com>.
* Unify calloc (its the same thing regardless of the underlyingEric Andersen2002-08-064-59/+35
| | | | | | | | malloc implementation). Fix problem reported to bugtraq about problems with integer overflow that can occur during the computation of the memory region size by calloc (and similar functions) which could result in a subsequent buffer overflow. -Erik
* Just in case, crash if somehow `exit' returns anywaysEric Andersen2002-08-061-0/+2
| | | | -Erik
* remove BUILDTIME since it is not usedEric Andersen2002-08-051-1/+0
|
* A couple of little cleanups I forgot to check in.Manuel Novoa III2002-08-032-3/+1
|
* When DODEBUG and HAS_WCHAR were enabled and HAS_LOCALE was disabled,Eric Andersen2002-08-031-2/+6
| | | | | | | | wchar.c wouldn't compile: wchar.c: In function `__mbsnrtowcs': wchar.c:631: `__ctype_encoding_7_bit' undeclared (first use in this function) This fixes it by keeping the locale specific asserts hidden when not relevant. -Erik
* Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader2002-08-011-1/+1
|
* (MALLOC_REALLOC_MIN_FREE_SIZE): New macro.Miles Bader2002-08-011-2/+8
| | | | Enable debugging if MALLOC_DEBUGGING is defined.
* (HEAP_MIN_SIZE): New macro.Miles Bader2002-08-011-6/+15
| | | | | (HEAP_MIN_FREE_AREA_SIZE): Increase size. Enable debugging if HEAP_DEBUGGING is defined.
* Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen2002-08-011-1/+1
|
* In the allocate-and-copy case, don't include the malloc header in ourMiles Bader2002-07-311-2/+2
| | | | size calculations.
* Sigh. A bit more cleanup.Eric Andersen2002-07-311-1/+3
|
* Update debugging printfs.Miles Bader2002-07-313-4/+4
|
* Per discussion on the mailing list, simply vfork -> fork mapping to only applyEric Andersen2002-07-313-3/+3
| | | | | iff we do not have vfork available, which is simpler and more reasonable. -Erik
* More i960 supportEric Andersen2002-07-311-0/+9
|
* Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen2002-07-311-1/+1
| | | | create_module() support.
* Patch from Alexander Pevzner <pzz@pzz.msk.ru> to fixup things when invoked asEric Andersen2002-07-311-1/+11
| | | | | | the C++ compiler to to automagically add include/g++ into the include search path, and automagically add -lstdc++ and -lm into the set of automatically linked libraries.
* You fool foolish. Goodbye level 2.Eric Andersen2002-07-311-0/+2
|
* Always build utils by defaultEric Andersen2002-07-311-3/+5
| | | | -Erik
* Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader2002-07-311-3/+4
|
* Use MALLOC_HEADER_SIZE.Miles Bader2002-07-311-1/+1
|
* (MALLOC_HEADER_SIZE): New macro.Miles Bader2002-07-311-2/+6
| | | | (MALLOC_BASE, MALLOC_ADDR): Use it.
* Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader2002-07-301-2/+2
| | | | Calculate amount freed when shrinking correctly.
* Update the size of grown/shrunk allocations.Miles Bader2002-07-301-16/+16
| | | | MALLOC_SET_SIZE now takes the user-address rather than the base-address.
* MALLOC_SET_SIZE now takes the user-address rather than the base-address.Miles Bader2002-07-301-2/+1
|
* Define MALLOC_SET_SIZE to take the user-address rather than the base-address.Miles Bader2002-07-301-2/+2
|
* Implement shrinking.Miles Bader2002-07-301-6/+19
| | | | | Fix bug when growing an allocation. Use new malloc header macros.
* Use new malloc header macros.Miles Bader2002-07-302-5/+6
|
* Add macros to abstract the malloc header format a bit.Miles Bader2002-07-301-1/+22
|