summaryrefslogtreecommitdiff
path: root/libc/unistd
AgeCommit message (Collapse)Author
2005-11-01Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger
2005-11-01Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-25All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
2005-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
2005-10-05oops, missed a spotEric Andersen
2005-10-04Do not stub out functions for mmu-less systems. Hide allEric Andersen
prototypes for functions disabled on mmu-less systems.
2005-09-21include headers only if the related option is enabledPeter S. Mazinger
2005-01-25merge parallel build supportMike Frysinger
2004-12-22Make certain that the prototype for fgets_unlocked is definedEric Andersen
2004-10-07Add ualarm.cEric Andersen
2004-10-07implement SuSv3 required ualarm()Eric Andersen
2004-07-15Cleanup a few of the more egregiously broken sysconf values toEric Andersen
actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik
2004-02-17Sigh... Fall back to alloca() if munmap is broken (uClinux).Manuel Novoa III
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-12Oops... Seems I forgot an else...Manuel Novoa III
2004-01-02Redo the exec functions to comply with SUSv3.Manuel Novoa III
2003-12-30Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen
2003-12-22oopsEric Andersen
2003-12-22implement the worthless cuserid() function we claim to support.Eric Andersen
This isn't in SuSv3, but is expected by at least some apps such as emacs...
2003-11-05Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen
static version. This will need further work later on, but should do the job for the time being,
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
2003-05-14Sleep was returning the wrong value because:David McCullough
* nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com>
2002-12-04Change some variable names so we are more consistant with whatEric Andersen
the linux kernel uses. -Erik
2002-12-04For now, always claim we have exactly one cpu. It shouldEric Andersen
generally be the truth...
2002-11-21Oops. As Pavel Roskin notes, I forgot to conditionally includeEric Andersen
the __fsetlocking call in libc/unistd/usershell.c. It should be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
2002-11-20Rework usershell.c, as the old one was packed full of unhandledEric Andersen
failures, returned stack allocated memory, and misbehaved itself in a number of other annoying ways, -Erik
2002-11-15Patch from Luc Van Oostenryck to fix a buffer overflowEric Andersen
in getlogin_r
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-09-19Add SUSv3 function getsubopt.Manuel Novoa III
2002-08-08Avoid bad things happening on macro expansion...Eric Andersen
-Erik
2002-08-07rework getopt. no read need to split this one up sinceEric Andersen
the parts are so tightly coupled.
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2002-06-15Prevent buffer overflowEric Andersen
2002-06-09Oops. Forgot to check this in. Thanks Martin Volf for noticingEric Andersen
-Erik
2002-05-31Patch from Robert Griebl <griebl@gmx.de> to supportEric Andersen
getusershell() and friends.
2002-04-11Fixed broken shell syntax.David McCullough
2002-04-09Only set no buffering if we opened the file. Also, don't bother restoringManuel Novoa III
buffering since we will close the file in that case anyway.
2002-04-09Per discussion on the mailing list, fix getpass properly.Eric Andersen
-Erik
2002-04-06Faster implementation from Miles BaderEric Andersen
2002-04-05Patch from Axel Barnitzke <barney@xkontor.com> to fixupEric Andersen
a problem with getpass() echoing passwords...
2002-04-03Add the xopen swab() function, contributed by Kensuke Otake ↵Eric Andersen
<kensuke@phreaker.net>
2002-01-11Fix indentingEric Andersen
2002-01-09Be more carefull about erroring out of shell fragments. Try toEric Andersen
enable -falign-functions if avilable.
2002-01-03Make getopt act the same regardless whether the app was staticly linkedEric Andersen
or dynamicly linked. Obeys the principle of least surprise. -Erik
2002-01-02Take the shorcut version, which is good enough forEric Andersen
nearly all normal usage. -Erik