Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid bad things happening on macro expansion... | Eric Andersen | 2002-08-08 | 1 | -2/+7 |
| | | | | -Erik | ||||
* | rework getopt. no read need to split this one up since | Eric Andersen | 2002-08-07 | 2 | -583/+502 |
| | | | | the parts are so tightly coupled. | ||||
* | Clean up CLK_TCK situation. clock() and sysconf() now use an | Manuel Novoa III | 2002-07-15 | 1 | -4/+5 |
| | | | | | | 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. | ||||
* | Cleanup the getcwd implementation (again) since I broke it | Eric Andersen | 2002-06-18 | 2 | -132/+1 |
| | | | | | | | 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 | ||||
* | Eliminate all the pointless globals from getcwd(). Default | Eric Andersen | 2002-06-18 | 1 | -69/+65 |
| | | | | | to using the getcwd syscall instead, when it is present. -Erik | ||||
* | Prevent buffer overflow | Eric Andersen | 2002-06-15 | 1 | -6/+7 |
| | |||||
* | Oops. Forgot to check this in. Thanks Martin Volf for noticing | Eric Andersen | 2002-06-09 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Patch from Robert Griebl <griebl@gmx.de> to support | Eric Andersen | 2002-05-31 | 1 | -0/+63 |
| | | | | getusershell() and friends. | ||||
* | Fixed broken shell syntax. | David McCullough | 2002-04-11 | 1 | -1/+1 |
| | |||||
* | Only set no buffering if we opened the file. Also, don't bother restoring | Manuel Novoa III | 2002-04-09 | 1 | -4/+5 |
| | | | | buffering since we will close the file in that case anyway. | ||||
* | Per discussion on the mailing list, fix getpass properly. | Eric Andersen | 2002-04-09 | 1 | -2/+7 |
| | | | | -Erik | ||||
* | Faster implementation from Miles Bader | Eric Andersen | 2002-04-06 | 1 | -13/+13 |
| | |||||
* | Patch from Axel Barnitzke <barney@xkontor.com> to fixup | Eric Andersen | 2002-04-05 | 1 | -2/+2 |
| | | | | a problem with getpass() echoing passwords... | ||||
* | Add the xopen swab() function, contributed by Kensuke Otake ↵ | Eric Andersen | 2002-04-03 | 2 | -1/+19 |
| | | | | <kensuke@phreaker.net> | ||||
* | Fix indenting | Eric Andersen | 2002-01-11 | 1 | -21/+21 |
| | |||||
* | Be more carefull about erroring out of shell fragments. Try to | Eric Andersen | 2002-01-09 | 1 | -4/+6 |
| | | | | enable -falign-functions if avilable. | ||||
* | Make getopt act the same regardless whether the app was staticly linked | Eric Andersen | 2002-01-03 | 4 | -977/+841 |
| | | | | | or dynamicly linked. Obeys the principle of least surprise. -Erik | ||||
* | Take the shorcut version, which is good enough for | Eric Andersen | 2002-01-02 | 1 | -2/+2 |
| | | | | | nearly all normal usage. -Erik | ||||
* | Fix usleep to work correctly. Fix sleep behavior in the | Eric Andersen | 2002-01-02 | 3 | -16/+113 |
| | | | | | presence of SIGCHLD. -Erik | ||||
* | Update my email address. I am no longer andersen@lineo.com | Eric Andersen | 2001-12-19 | 3 | -23/+20 |
| | |||||
* | Silly us. Don't try to free alloca'd memory. | Eric Andersen | 2001-11-24 | 3 | -9/+0 |
| | | | | -Erik | ||||
* | pathconf can't use fpathconf or it will block opening FIFOs | Eric Andersen | 2001-11-21 | 1 | -7/+209 |
| | |||||
* | Oops. Lets try that again. | Eric Andersen | 2001-11-20 | 1 | -0/+2 |
| | |||||
* | Fix up pathconf and friend so that test suits can work | Eric Andersen | 2001-11-20 | 3 | -25/+289 |
| | |||||
* | Can't use CLK_TCK in here since /usr/include/bits/time.h now | Eric Andersen | 2001-11-20 | 1 | -7/+6 |
| | | | | | defines that as __sysconf(_SC_CLK_TCK) causing infinite recursion. -Erik | ||||
* | Disable fast search by default (doesn't work on coda for example) | Eric Andersen | 2001-11-05 | 1 | -0/+11 |
| | |||||
* | Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is | Eric Andersen | 2001-10-14 | 1 | -1/+2 |
| | | | | supposed to be a number | ||||
* | Update to accomodate the header file changes | Eric Andersen | 2001-09-27 | 2 | -3/+8 |
| | |||||
* | This syncs things up with my local tree. Mainly changes installer | Eric Andersen | 2001-08-08 | 1 | -4/+1 |
| | | | | | | issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging... | ||||
* | Ok, this should finish off my massive ro-organization. The source | Eric Andersen | 2001-05-12 | 1 | -2/+1 |
| | | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik | ||||
* | Oops. Forgot the makefile updates | Eric Andersen | 2001-05-10 | 1 | -1/+2 |
| | |||||
* | These are needed for ash-0.3.8 | Eric Andersen | 2001-05-10 | 1 | -0/+59 |
| | |||||
* | Change FILENAME_MAX to be only 255. Max filename on ext2 is 255, | Eric Andersen | 2001-05-07 | 3 | -30/+33 |
| | | | | | | | so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik | ||||
* | Only compile in daemon() if the target has an MMU. | Eric Andersen | 2001-04-23 | 2 | -6/+6 |
| | | | | -Erik | ||||
* | Stub out fpathconf() -- FIXME | Eric Andersen | 2001-04-20 | 1 | -0/+30 |
| | | | | -Erik | ||||
* | Add in a trivial getlogin implementation | Eric Andersen | 2001-04-20 | 1 | -0/+48 |
| | |||||
* | Add missing header file for daemon.c, add missing functions into unistd.h. | Eric Andersen | 2001-04-20 | 2 | -2/+3 |
| | | | | | | | I still need to implement getlogin.c fpathconf.c, but they are required for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't have them yet. But we will very very soon. :-) -Erik | ||||
* | Posix 1003.13 POSIX_MULTI_PROCESS specifies that execle() should | Eric Andersen | 2001-04-18 | 1 | -0/+53 |
| | | | | | be there, so I just wrote it up. -Erik | ||||
* | Fix include/errno.h to not use kernel header, and instead use bits/errno.h. | Eric Andersen | 2001-04-06 | 2 | -9/+9 |
| | | | | | | | 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 | ||||
* | Accomodate mmuless systems. | Eric Andersen | 2001-04-03 | 1 | -0/+9 |
| | |||||
* | Add in daemon.c, now used by busybox. | Eric Andersen | 2001-04-03 | 2 | -1/+96 |
| | | | | -Erik | ||||
* | Add missed dependency. TODO: Should build gen_sysconf when cross-compiling. | Manuel Novoa III | 2001-03-20 | 1 | -1/+1 |
| | |||||
* | I think this fixes the dependancy problems. Manuel, can you | Eric Andersen | 2001-03-20 | 1 | -4/+12 |
| | | | | | double check that this is what you intended? -Erik | ||||
* | Patch from Jean-Yves Avenard to move the getopt globals to their | Eric Andersen | 2001-03-05 | 4 | -38/+60 |
| | | | | | | own file, since at least on SH, weak variables with initial values (.data stuff) were not working. Moving these to their own file seems to be a good way to handle it. | ||||
* | Use __environ instead of the GNU extension environ. | Eric Andersen | 2001-02-09 | 4 | -12/+4 |
| | | | | -Erik | ||||
* | Implement getdtablesize(), which is used by the rpc crap. | Eric Andersen | 2001-02-09 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | The rules to build sysconf_$(TARGET_ARCH).c were broken when cross | David McCullough | 2001-01-29 | 1 | -1/+1 |
| | | | | compiling. | ||||
* | DIRS was not set in this makefile and could be inherited from the | David McCullough | 2001-01-29 | 1 | -0/+4 |
| | | | | environment. | ||||
* | Enable auto-generation of a size-optimized sysconf function (saves .5k on i386). | Manuel Novoa III | 2001-01-27 | 3 | -114/+349 |
| | |||||
* | Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a | Manuel Novoa III | 2001-01-25 | 1 | -2/+2 |
| | | | | objects with shared uClibc; allow disabling long long support. |