summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-04-09Fix the read/write auto-transition bugs. Note that if we can'tManuel Novoa III
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.
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-09Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen
2002-04-09Add truncate64.cEric Andersen
2002-04-09Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen
which have implementations that works... -Erik
2002-04-09Revert Erik's changes... they were broken since there weren't enoughManuel Novoa III
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.
2002-04-09Create a much more careful ftruncate64 implementation, that shouldEric Andersen
address all the concern Miles had with the earlier versions... -Erik
2002-04-09Per discussion on the mailing list, fix getpass properly.Eric Andersen
-Erik
2002-04-09Support ISblank properlyEric Andersen
2002-04-09Avoid defining __USE_FILE_OFFSET64, since we do _NOT_ wantEric Andersen
interfaces silently renamed under us or very bad things may happen... -Erik
2002-04-09undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfacesEric Andersen
silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -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-05Add a fun pointer to make apps happyEric Andersen
2002-04-03Teach initfini to build properly on arches where gcc tries to beEric Andersen
sneaky behind our back... -Erik
2002-04-03Revert this file back to where it was so m68k can compile again.Eric Andersen
Oops. I'd hosed things up for m68k with the header file rework. -Erik
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that pututlineEric Andersen
was only writing the first sizeof-a-pointer bytes to the utmp file. oops. -Erik
2002-04-03Patch from Jim Treadway <jim@stardot-tech.com> to eliminateEric Andersen
use of alarm() and therefore SIGARLM in the resolver and to instead use select, which is much cleaner.
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that setutentEric Andersen
was only opening utmp readonly. Oops.
2002-04-03Add the xopen swab() function, contributed by Kensuke Otake ↵Eric Andersen
<kensuke@phreaker.net>
2002-04-03Be certain thatEric Andersen
2002-04-03Doh! I forgot to commit this...Eric Andersen
2002-04-03Adjust beinningEric Andersen
2002-04-03Run dos2unix on these filesEric Andersen
2002-04-03m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen
2002-04-02Fix an arg promotion handling bug in _do_one_spec for %c reportedManuel Novoa III
by Ilguiz Latypov <ilatypov@superbt.com>.
2002-04-01Forget to initialize thread locks for fake files. Thanks Erik.Manuel Novoa III
2002-04-01Remove function declartions from include/features.h, createEric Andersen
a separate header file for those, and fixup references. -Erik
2002-04-01Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen
support for pthreads and update for the latest and greatest.
2002-04-01Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen
2002-03-31Add glob64.c, and add support for glob64 when large file is enabled.Eric Andersen
-Erik
2002-03-31Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen
which is needed for busybox ash when using largefile support. -Erik
2002-03-31Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen
with the getrlimit and setrlimit syscalls. -Erik
2002-03-31Add in support for ftruncate64 on both ARM and x86Eric Andersen
-Erik
2002-03-25Patch from Steven J. Hill to disable __fsetlocking whenEric Andersen
threads are disabled. Bug is my fault. oops. -Erik
2002-03-22Add in a knob to disable %m supportEric Andersen
-Erik
2002-03-21Remove include file, in case it is broken. We don't need it here.Eric Andersen
-Erik
2002-03-21Support getttyent and friends so ncurses will compileEric Andersen
2002-03-21Compile in flockfile and friends by defaultEric Andersen
-Erik
2002-03-20Patch from Bart Visscher <magick@Linux-Fan.com> fixing someEric Andersen
missing pieces of the conversion to reentrant functions.
2002-03-20Doh! search-n-replace bites againEric Andersen
2002-03-20Fix compile problem when ASSUME_DEVPTS=falseEric Andersen
getpt.c: In function 'getpt': getpt.c:83: 'have_no_dev_ptmx' undeclared ... oops. -Erik
2002-03-20s/off_t/__off_t/gEric Andersen
2002-03-19Fix missing defines. Forgot to check this in.Eric Andersen
-Erik
2002-03-19Merge glibc random, which gets us a much better RNG and aEric Andersen
reentrant one as well. It is not much bigger than what we had, so... -Erik
2002-03-19Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, andEric Andersen
added several additional reentrant networking functions such that iptables now runs with IPV6 support.
2002-03-16Remove the C++ support stubs, since these now live elsewhere andEric Andersen
these stubs were preventing the real stuff from working properly. -Erik
2002-03-16Build crti.o and crtn.o with optimization enabledEric Andersen
-Erik
2002-03-16Fix a pointer bug in setvbuf reported by Bart Visscher <magick@Linux-Fan.com>.Manuel Novoa III
2002-03-15Add strptime, and commonize some locale stringsEric Andersen
-Erik