summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-01-20Don't reconnect to logging socket if send() returns an error and errnoTodd C. Miller
== ENOBUFS, there is no point and it hurts chroot'ed processes. Don't return immediately from syslog_r() when the send(), we may have more work to do. deraadt@ OK
2003-01-20remove libc_r mention in commentMarco S Hyman
2003-01-20remove libc_r mention in commentMarco S Hyman
2003-01-20Allow the fetching of current stack info from threaded apps.Marco S Hyman
This is necessary for alpha setjmp. The alpha setjmp/longjmp regression tests pass with -pthread with this change
2003-01-20comment changed to look in libpthread, not libc_rMarco S Hyman
2003-01-20bye-bye libc_r sources.Marco S Hyman
the sources have been moved (with history) to /usr/src/lib/libpthread
2003-01-20Use the sources that exist in sibdirs of libpthread, not libc_rMarco S Hyman
2003-01-19programs that chroot must use LOG_NDELAY; deraadt@ OKTodd C. Miller
2003-01-19return (func(...)) not needed when the current function and funcMarco S Hyman
are both void. The select call is a cancellation point per IEEE Std 1003.1-2001. This should fix a problem espie@ found in kde.
2003-01-19typos; jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-18inet6 fixes from jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-18more typos; jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-16Waiter! I asked for a working vfork!Miod Vallat
2003-01-16Alignment requirements are satisfied in ENTRY(), no need to add more here.Miod Vallat
2003-01-16fpr0 is recommended to be operated in full 64bits, although seemed to work ↵Michael Shalayeff
otherwise, fix it
2003-01-16make it compileMichael Shalayeff
2003-01-16extern the eprol and etext; better eprol definitionMichael Shalayeff
2003-01-15minbrk is exposed, gmon uses itMichael Shalayeff
2003-01-15typos; jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-14Bye-bye libc_r. libc_r and libnpthread go away. libpthreadMarco S Hyman
takes their place. The -pthread option to gcc uses libpthread. ppc portion of patch from drahn@ (thanks). gcc portions of patch OK espie@. Ports testing (no bad effects!) by naddy@ best build sequence is: build gcc, build system, build ports remove /usr/lib/lib{c_r,npthread}.*. Note, once libc_r and libnpthread is removed threaded ports will stop working until they have been re-built using the libpthread and the updated gcc. That's why the above build sequence is recommended.
2003-01-14Add sanity check to prevent int oflow for very large allocations.Todd C. Miller
Also fix a signed vs. unsigned issue while I am at it. Found by Jim Geovedi. OK deraadt@
2003-01-08Move the rounds into separate functions on sparc64 so gcc's optimizerTodd C. Miller
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK
2003-01-07Better have an OpenBSD static rcsid rather than a NetBSD static rcsid forMiod Vallat
this file...
2003-01-07Get static rcsid correctly, better style for .S files, trim whitespace.Miod Vallat
2003-01-07Properly align __infinity - m88k is very strict wrt double alignment.Miod Vallat
Fixes - oh what a surprise - bus errors in awk.
2003-01-07Get the rounding modes table correct, eventually.Miod Vallat
2003-01-07One more pass to get thinks correct wrt weak symbols and syscalls.Miod Vallat
2003-01-07Updated from tzcode2002d (ftp://elsie.nci.nih.gov/pub/)Todd C. Miller
2003-01-05spellingTheo de Raadt
2003-01-05spellingTheo de Raadt
2003-01-04spellingTheo de Raadt
2003-01-04Fix *longjmp() return values.Miod Vallat
2003-01-03Get the m88k libm to say no to drugs.Miod Vallat
2003-01-02Adapt to recent changes in libc/libc_r wrt weak symbols, so that programsMiod Vallat
can link against libc without unresolved symbols again. Anyone who correctly guessed that my m88k hard drive has been recovered, wins a strawberry lollipop.
2003-01-02Rename cerror to __cerror and curbrk to __curbrk, to avoid namespaceMiod Vallat
pollution. Conforming to art@'s evil plans.
2003-01-02Begone.Miod Vallat
2003-01-02Handle things like "%%m" correctly; closes PR 3057Todd C. Miller
OK miod@
2003-01-02TyposMiod Vallat
2002-12-31amiga and sun3 turned out to not be y2k+3 compliant here. Remove them, asMiod Vallat
well as the few userland tools which were only used on these platforms.
2002-12-31If we're going to replace strtok() with strtok_r(), and the caller of theJun-ichiro itojun Hagino
latter is invoked recursively, use static (instead of automatic) storage for the "last" pointer so that we remember where we're up to ... Fixes bug with hosts.deny rules such as "rpcbind: ALL EXCEPT some.domain". netbsd lib/libwrap/hosts_access.c 1.17
2002-12-31Catch EISDIR in execvp() and friends so that if a directory appearsTodd C. Miller
in PATH that matches the name to be executed we skip it; Andy Isaacson
2002-12-23Unbreak for bigendian, identical diff as Theo's.Dale Rahn
2002-12-23o Ansi function headersTodd C. Miller
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-16typo; torh@bogus.netMarkus Friedl
2002-12-15Casting to unsigned int in isfoo() causes problems on alpha andTodd C. Miller
sparc64. Change cast back to unsigned char but do a bitwise AND with 0xff to avoid any sign extension weirdness and to make it impossible for us to overflow _C_ctype_. The bitwise AND is probably not needed and may be removed later if this does not trigger compiler bugs.
2002-12-15more writeable -> writable by torhHenning Brauer
2002-12-14Instead of doing "if (c == EOF) return 0;" use the hook ('?') operatorTodd C. Miller
instead to make these one-liners. Works around a compiler bug on vax that affects both the libc and inline versions identically.
2002-12-13Less stupid check for 7-bit ascii in toupper/tolowerTodd C. Miller
Remove useless check for EOF in isascii
2002-12-13Cast to unsigned int, not unsigned char, since what is being cast is anTodd C. Miller
int, not a char.