summaryrefslogtreecommitdiff
path: root/libc/unistd
AgeCommit message (Collapse)Author
2008-06-01add missing includes of unistd.h for smallint usageDenis Vlasenko
remove a few duplicate includes of unistd.h
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-20replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko
2008-05-20getopt: do not needlessly use static structure.Denis Vlasenko
Reorder structure members and change some of them into smallints to reduce bss and text: text data bss dec hex filename - 2403 12 40 2455 997 libc/unistd/getopt.o + 2252 12 0 2264 8d8 libc/unistd/getopt.o
2008-05-20- remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-02-12add hidden_proto's for __uc_mallocDenis Vlasenko
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
2008-01-23give execlp() its own cache on no-mmu to avoid recursive cache fightingMike Frysinger
2008-01-08fix memory corruption on no-mmu from doing multiple execls where earlier ↵Mike Frysinger
execls fail by simply not releasing the memory reserved for the arguments of children processes
2007-12-22plug a memory leak when using execl* functions on no-mmuMike Frysinger
2007-12-22add hidden defs for execv/execlp for completenessMike Frysinger
2007-07-30make utent.c, getpass.c use __uc_mallocDenis Vlasenko
2007-07-18execXp should go to next PATH dir on any error except ENOEXEC,Denis Vlasenko
not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this.
2007-05-02Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellationMike Frysinger
point but the files have "libc_hidden_proto(nanosleep)" which means it always calls the libc.so version, never the wrapped version in libpthread.so that's a cancellation point.
2007-04-13Patch by Ricard Wanderlof <ricardw at axis dot com>:Peter Kjellerstedt
* Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
2007-01-22Recognize _SC_MONOTONIC_CLOCK in sysconf() even if __NR_clock_getresPeter Kjellerstedt
is not defined.
2007-01-21- repair misplaced #endif that got introduced in r17410. Fixes compilation.Bernhard Reutner-Fischer
2007-01-20The case for _SC_MONOTONIC_CLOCK should only exist if 'clock_getres' does."Steven J. Hill"
2006-09-22Added support for sysconf(_SC_MONOTONIC_CLOCK).Peter Kjellerstedt
2006-07-05replace my @debian.org addr with @uclibc.org. Fixup license onEric Andersen
readelf and ldd to again state that they are GPLv2
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-07-05sync with glibcMike Frysinger
2006-07-05update licenseMike Frysinger
2006-05-30Make execle() and chown() available again (corrects commit 15179).Peter Kjellerstedt
2006-05-26Amir Shalem writes:Mike Frysinger
there are missing prototypes for chown() and execle() in uClibc-snapshot. I'm attaching a patch to add the missing prototypes. the error I'm getting without the patch: AR cr libc/libc_so.a LD libuClibc-0.9.28.so libc/libc_so.a(grantpt.os): In function `__unix_grantpt': grantpt.c:(.text+0x108): undefined reference to `__GI_chown' grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
2006-03-23Correct typoPeter S. Mazinger
2006-03-23Mark some functions as BSD onlyPeter S. Mazinger
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-03-21stderr does not have hidden version anymore, disable it's usePeter S. Mazinger
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-03-03Rename getopt_long-susv3 to -simplePeter S. Mazinger
2006-03-03Upstream updatePeter S. Mazinger
2006-02-27Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getoptPeter S. Mazinger
2006-02-27Add Rich Felker's getsubopt, smaller then the glibc copied onePeter S. Mazinger
2006-02-27Add hidden version for susv3 getoptPeter S. Mazinger
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-17Take getopt from glibc, disable -W foo support as in the earlier version, ↵Peter S. Mazinger
size shrink 5%, hope it solves option parsing w/ busybox tar
2006-02-17Remove hidden_data_def for opt*Peter S. Mazinger
2006-02-17Sync w/ glibc, no size changePeter S. Mazinger
2006-02-13libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
2006-02-13Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵Peter S. Mazinger
affected files
2006-02-13Don't compile daemon.c at all for non-MMUPeter S. Mazinger
2006-02-11add back in code cut by previous commit to fix the pathconf testMike Frysinger
2006-02-10sync with glibc and kill dead code to fix issues found by the nftw ltp testsMike Frysinger
2006-02-03attribute_hidden is enough in the prototype, sync getopt-susv3 w/ gnuPeter S. Mazinger
2006-02-03disable hidden_proto/def for __BCC__ generallyPeter S. Mazinger
2006-02-03Use internal versions of strchr and stderr for non-BCCPeter S. Mazinger
2006-02-01global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger