summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-07-15Patch for a silly bug from David BlytheEric Andersen
2002-07-15Silence a couple of silly warningsEric Andersen
-Erik
2002-07-15Rework pread and pwrite support so it should actually work.Eric Andersen
Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
2002-07-11Kill this stale fileEric Andersen
2002-07-10Tobias Anderberg <tobias.anderberg@axis.com> noticed thatEric Andersen
we were opening the socket() as SOCK_STREAM instead of using SOCK_DGRAM like we should have done.
2002-07-10Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen
...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik
2002-07-10Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leakEric Andersen
2002-07-08Remove obsolete code.Manuel Novoa III
2002-07-08Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.Manuel Novoa III
2002-07-08Finer grained locking in __connect_dns() so we don't hold theEric Andersen
lock while sending packets out onto the wire. -Erik
2002-07-07Obligatory forgotten file.Manuel Novoa III
2002-07-07Attempt to clean up the strerror_r situation.Manuel Novoa III
2002-07-07Doh! search-n-replace strikes againEric Andersen
-Erik
2002-07-07Fix namespace pollution by hiding statfix and statfix64 byEric Andersen
prepending an __ to the name. Not perfect but better. -Erik
2002-07-07Cleanup namespace leaks by prepending __ to global stuff toEric Andersen
indicate it is (alledgedly) private. -Erik
2002-07-07Kill namespace pollution in getrpcent.c. Silence other rpc warningsEric Andersen
by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik
2002-07-07Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanupEric Andersen
connect_dns() and simplify IPV6 support by reducing the number of ifdefs sprinkled about.
2002-07-06Stupid filesystems like cramfs fail to guarantee that st_ino and st_devEric Andersen
uniquely identify a file, contrary to SuSv3, so we cannot be quite so precise as to require an exact match. Settle for something less... Grumble... -Erik
2002-07-05Add copyright message and remove dead code.Manuel Novoa III
2002-07-05Add two missing glibc wide string funcs as well as OpenBSD string funcsManuel Novoa III
strlcat and strlcpy.
2002-07-05Only define __uwchar_t if wide char support is enabled.Manuel Novoa III
2002-07-03Add a weak to make apache happyEric Andersen
-Erik
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-07-03Make clone work, part 2.Eric Andersen
-Erik
2002-07-03Fix clone so it compilesEric Andersen
-Erik
2002-07-02Oops. missed a spotEric Andersen
-Erik
2002-07-02openlog could deadlock when called from vsyslog, soEric Andersen
allow recursive locking, -Erik
2002-07-01This patch, from Ronald Wahl <rwa@peppercon.com>, fixes theEric Andersen
spots where I screwed up and forgot to fix realloc to use free_unlocked() instead of free(). Thanks Ronald!
2002-06-26Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen
2002-06-21Fix support for 2.0.x linux kernels. Oops.Eric Andersen
-Erik
2002-06-20Cleanup the function pointer comparisionsEric Andersen
-Erik
2002-06-20Fix DNS resolution so that it once again works. I'd broken itEric Andersen
when adding some locking code. -Erik
2002-06-19Oops. Looks like I broke ttyname. Fix it.Eric Andersen
-Erik
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-18Make sure the sccsid tags never get compiled in.Eric Andersen
-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-18Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III
that localtime_r() calls tzset() to initialize/update timezone data.
2002-06-18Kill kernel_version.c, which is completely meaningless crapEric Andersen
and didn't even work. -Erik
2002-06-18Rework, reduce the size, add proper lockingEric Andersen
-Erik
2002-06-18Remove obsolete files.Manuel Novoa III
2002-06-18Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III
standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages.
2002-06-18Silly name changeEric Andersen
2002-06-18Rework and kill pointless static variableEric Andersen
-Erik
2002-06-18Fix thread locking so it worksEric Andersen
-Erik
2002-06-18Fix locking. KillEric Andersen
2002-06-18Some commentaryEric Andersen
-Erik
2002-06-18Patch from Martin Proulx <mproulx@okiok.com> to supportEric Andersen
the i960 architecture.
2002-06-17kill cruftEric Andersen
2002-06-17Make things more re-entrany, kill some cruft.Eric Andersen
-Erik
2002-06-17Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen
junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik