summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
1999-01-08when malloc fails set bufsize to 0 or all other calls to getmntinfo will failArtur Grabowski
1998-12-21md spinlockDavid Leonard
1998-11-25clarify; d@Aaron Campbell
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-11-18negative change strtol()Theo de Raadt
1998-11-15ftok() takes int id; xpgTheo de Raadt
1998-10-05add a reference to fork(2) \Artur Grabowski
from woods@mail.weird.com
1998-10-04For a.out, try mmap first (like we used to do) and only malloc() if that ↵Todd C. Miller
fails (for ksyms). Also clean up some mmap/malloc leaks.
1998-09-24back out gzip support, it will not make it for 2.4Todd C. Miller
1998-09-24note that the caller is responsible for freeing the pointer returned by ↵Todd C. Miller
setmode()
1998-09-08__alpha__, not alphaTodd C. Miller
1998-09-07make work on pmaxTodd C. Miller
1998-09-06More man page fixes. Spelling, grammar, some typos. Lots of double-wordAaron Campbell
occurrences squashed as well.
1998-09-05Add support for nlisting against a gzipped kernel, #ifdef'd out sinceTodd C. Miller
it requires linking with -lz. savecore will use this to operate on gzipped kernels.
1998-08-29man page repairs; aaron@ug.cs.dal.caTheo de Raadt
1998-08-27re-initialize the tty buffer with "/dev/" everytime through; spotted by dTheo de Raadt
1998-08-23Strip leading '_' from symbol to lookup if symbols in file lack leading '_'.Todd C. Miller
Needed to make nlist of /dev/ksyms work correctly on non-a.out kernels.
1998-08-21I committed the wrong version before, here is the correct oneTodd C. Miller
1998-08-21For a.out use read, not mmap, to get the string table so this works onTodd C. Miller
/dev/ksyms. mmap was only used because, at the time, free did not give memory back to the system (our malloc/free uses mmap/munmap so we are ok).
1998-08-17typoTodd C. Miller
1998-08-15fix realloc patchTheo de Raadt
1998-08-14realloc repairTheo de Raadt
1998-07-24Man pages Xrefs.Marc Espie
1998-07-14avoid calling __has_yppw() everytime through getpwent(), by caching the YP ↵Theo de Raadt
status along with the open file status
1998-07-07include <signal.h> not <sys/signal.h>Theo de Raadt
1998-07-07per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM.Theo de Raadt
As permitted, make the truncated buffer be NUL terminated. make getdomainname() match.
1998-07-04split dirname and basename man pages; add dirnameTheo de Raadt
1998-07-04split dirname and basename man pagesTheo de Raadt
1998-07-03do not free() before last ref; kmayer@freegate.comTheo de Raadt
1998-06-27ktrace not traceArtur Grabowski
1998-06-26fix prototypesTheo de Raadt
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1998-06-11Add a mention of the tcp ident sysctl.Bob Beck
1998-06-08finish; kleinkTheo de Raadt
1998-06-08do not needlessly uppercase function namesTheo de Raadt
1998-06-03zero sigaction before useTheo de Raadt
1998-06-02add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; ↵Theo de Raadt
mostly from kleink
1998-06-02tell people to use sysconf(3) now; kleinkTheo de Raadt
1998-05-13change size parameter to size_tTheo de Raadt
1998-05-06use errno.hTheo de Raadt
1998-04-28use Xr more oftenTheo de Raadt
1998-03-19zap FILE * after closing itTheo de Raadt
1998-03-19some -WallTodd C. Miller
1998-03-17do not ferror() after fclose(); dholland@eecs.harvard.eduTheo de Raadt
1998-03-07.Bx Open -> .Ox 2.xTodd C. Miller
1998-03-06And terminate SyslogAddr.sun_path (duh!)brian
1998-03-06sizeof(SyslogAddr.sun_path) -> sizeof(SyslogAddr.sun_path) - 1brian
pointed out by: theo
1998-03-05Initialise sockaddr::sa_len (stopping a pretty nastybrian
stack scribble). Also, SyslogAddr is a sockaddr_un, not a sockaddr.