summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Martin Proulx to not do ELFish things when not ELF.Eric Andersen2002-04-171-0/+2
|
* Patch from Martin Proulx to remove weak_aliases for non ELF compilers inEric Andersen2002-04-171-2/+2
| | | | | | __uClibc_main for the _stdio_init and _stdio_term functions. Since weak_aliases are defined as hard aliases for non ELF compilers, these 2 symbols ended up to be multiply defined, as those two are defined in stdio.c.
* Stub out pread and pwrite when not availableEric Andersen2002-04-171-0/+16
|
* Change branch to fallthrough. Unclean, but it removes last R_PPC_REL24.David Schleef2002-04-171-3/+3
|
* Just tail-call __uClibc_main. There's no real point to calling abort ifMiles Bader2002-04-171-4/+2
| | | | exit failed, and abort drags in some unecessary grot.
* (L_dummy_main_reference): Reference the C symbol `main', not the linkerMiles Bader2002-04-151-5/+4
| | | | symbol `main'.
* Fix dummy main reference so it works...Eric Andersen2002-04-144-13/+24
|
* Manuel and I were looking into a problem with applications failing to linkEric Andersen2002-04-1412-1/+65
| | | | | | | | | | (undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
* Fixed stpncpy() implementation from ManuelEric Andersen2002-04-131-8/+10
|
* Patch from Jim Treadway <jim@stardot-tech.com>:Eric Andersen2002-04-131-19/+9
| | | | | | The internal __getgrent function doesn't allocate enough memory to hold the trailing NULL pointer in the gr_mem member of the returned 'struct group *'.
* Fixed broken shell syntax.David McCullough2002-04-111-1/+1
|
* John Traill <john.traill@motorola.com> noticed that on powerpcEric Andersen2002-04-101-0/+148
| | | | | | a dev_t is _not_ a quad type, but a simple int. Doh! We fixed that months ago, but subsequently lost the fix, so this restores things.
* Some minor updates per discussion with Miles BaderEric Andersen2002-04-102-8/+12
| | | | -Erik
* Make assembly code PIC-compatible.David Schleef2002-04-105-0/+28
|
* Remove v850-specific versions of truncate64.c and ftruncate64.c.Miles Bader2002-04-101-1/+1
|
* Generic implemention works for v850 now, so we don't need a special version.Miles Bader2002-04-102-67/+0
|
* Fixup __USE_FILE_OFFSET64Eric Andersen2002-04-091-5/+7
|
* Add creat64Eric Andersen2002-04-092-2/+48
| | | | -Erik
* Fix the read/write auto-transition bugs. Note that if we can'tManuel Novoa III2002-04-091-29/+36
| | | | | | | | | | | | auto-transition, we fail the operation. This is different than glibc's apparent behavior for writing of clearing the read buffer and still failing the write without setting the stream's error flag. Also, change a number of "errno = xxx" assignments to use __set_errno(). Also, change setvbuf(file, NULL, _IO{LF}BF, 0) behavior to more closely match glibc's by keeping the current buffer and only changing the buffering mode. Update setlinebuf() in the process to match the man page behavior.
* Only set no buffering if we opened the file. Also, don't bother restoringManuel Novoa III2002-04-091-4/+5
| | | | buffering since we will close the file in that case anyway.
* Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen2002-04-091-18/+8
|
* Add truncate64.cEric Andersen2002-04-091-1/+1
|
* Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen2002-04-093-28/+43
| | | | | which have implementations that works... -Erik
* Revert Erik's changes... they were broken since there weren't enoughManuel Novoa III2002-04-093-21/+10
| | | | | | | | bits for the extra ISblank flag. Instead, hardwire isblank() to not depend on locale for now. At least it will work for space and tab in the immenent release. This will all be blown away for the next release anyway, as I should be committing my new stuff in the next day or two.
* Create a much more careful ftruncate64 implementation, that shouldEric Andersen2002-04-096-47/+42
| | | | | address all the concern Miles had with the earlier versions... -Erik
* Per discussion on the mailing list, fix getpass properly.Eric Andersen2002-04-091-2/+7
| | | | -Erik
* Support ISblank properlyEric Andersen2002-04-091-0/+1
|
* Avoid defining __USE_FILE_OFFSET64, since we do _NOT_ wantEric Andersen2002-04-097-21/+35
| | | | | | interfaces silently renamed under us or very bad things may happen... -Erik
* undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfacesEric Andersen2002-04-093-70/+9
| | | | | | silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -Erik
* Faster implementation from Miles BaderEric Andersen2002-04-061-13/+13
|
* Patch from Axel Barnitzke <barney@xkontor.com> to fixupEric Andersen2002-04-051-2/+2
| | | | a problem with getpass() echoing passwords...
* Add a fun pointer to make apps happyEric Andersen2002-04-051-1/+5
|
* Teach initfini to build properly on arches where gcc tries to beEric Andersen2002-04-031-0/+10
| | | | | sneaky behind our back... -Erik
* Revert this file back to where it was so m68k can compile again.Eric Andersen2002-04-031-25/+22
| | | | | Oops. I'd hosed things up for m68k with the header file rework. -Erik
* Richard June <rjune@bravegnuworld.com> noticed that pututlineEric Andersen2002-04-031-6/+4
| | | | | | was only writing the first sizeof-a-pointer bytes to the utmp file. oops. -Erik
* Patch from Jim Treadway <jim@stardot-tech.com> to eliminateEric Andersen2002-04-031-22/+12
| | | | | use of alarm() and therefore SIGARLM in the resolver and to instead use select, which is much cleaner.
* Richard June <rjune@bravegnuworld.com> noticed that setutentEric Andersen2002-04-031-1/+1
| | | | was only opening utmp readonly. Oops.
* Add the xopen swab() function, contributed by Kensuke Otake ↵Eric Andersen2002-04-032-1/+19
| | | | <kensuke@phreaker.net>
* Be certain thatEric Andersen2002-04-031-1/+7
|
* Doh! I forgot to commit this...Eric Andersen2002-04-031-3/+3
|
* Adjust beinningEric Andersen2002-04-031-2/+1
|
* Run dos2unix on these filesEric Andersen2002-04-034-11/+11
|
* m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen2002-04-031-1/+1
|
* Fix an arg promotion handling bug in _do_one_spec for %c reportedManuel Novoa III2002-04-021-2/+9
| | | | by Ilguiz Latypov <ilatypov@superbt.com>.
* Forget to initialize thread locks for fake files. Thanks Erik.Manuel Novoa III2002-04-012-0/+16
|
* Remove function declartions from include/features.h, createEric Andersen2002-04-019-0/+24
| | | | | a separate header file for those, and fixup references. -Erik
* Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen2002-04-018-0/+597
| | | | support for pthreads and update for the latest and greatest.
* Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen2002-04-011-8/+13
|
* Add glob64.c, and add support for glob64 when large file is enabled.Eric Andersen2002-03-313-1/+71
| | | | -Erik
* Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen2002-03-319-73/+103
| | | | | which is needed for busybox ash when using largefile support. -Erik