summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2005-12-27Remove unused include, ok miod@Dale Rahn
2005-12-23Prototypes live in <search.h>Todd C. Miller
2005-12-22handle chroot and res_init calls better. diagnosis assistance from otto.Ted Unangst
ok deraadt otto.
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-12-19Missing piece from previous commitTodd C. Miller
2005-12-19Add %hhd to *printf and *scanf as well as %z to *scanf. This wasTodd C. Miller
sent out and approved about 6 months ago and has been rotting in my tree ever since.
2005-12-19Use strlcpy() return value in bound check instead of using anTodd C. Miller
extra strlen(). This has been in my tree for a long time.
2005-12-17Document PT_STEP (better late than never), and group the machine-dependentMiod Vallat
request with a (fixed) list of arches for each; tweaks and ok jmc@ kettenis@
2005-12-16clarify sentence; cannot reuse a stream socket after even trying to do a ↵Theo de Raadt
connect; spotted by tedu
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@ and deraadt@
2005-12-10because lint says so; ok espieTheo de Raadt
2005-12-02never say unsigned; say at least unsigned intTheo de Raadt
2005-11-30know __arm__ tooTheo de Raadt
2005-11-30timezone -> time zoneJason McIntyre
2005-11-30Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeOtto Moerbeek
and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@
2005-11-29if we pull in a .S file, we must fake out the lint with a .c fileTheo de Raadt
for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
2005-11-29Provide stubs for things which are supplied by crt0. I don't think weTheo de Raadt
want a crt0.ln, at least, not yet. We may reconsider later.
2005-11-29document KERN_ARND better; ok deraadt@Otto Moerbeek
2005-11-28some nice off_t casts to please lintTheo de Raadt
2005-11-28unused arg in internal static APITheo de Raadt
2005-11-28ARGSUSED stubsTheo de Raadt
2005-11-28make Lint prototypes equal; ok millertTheo de Raadt
2005-11-27Add a cast for (size_t)-1 because we know what we're doing, the ISO std.Chad Loder
says this is what we're supposed to return. Makes lint happy. OK deraadt, espie
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-11-24include more architectures in the list (even though some do not compileTheo de Raadt
this, but do it entirely in the compiler); ok miod
2005-11-20Allocate space for profiling data using mmap instead of sbrk.Todd C. Miller
Tested by myself and pedro@
2005-11-20brk() and sbrk() should use void *, not char *. Note that sbrk()Todd C. Miller
should take intptr_t, not int, but we don't presently have intptr_t available from unistd.h. OK marco@
2005-11-18FIONASYNC -> FIOASYNCJason McIntyre
from nicholas marriott;
2005-11-16CODESET support. okay millert@, otto@Marc Espie
(not really useful for now, it mostly helps some programs which want to use it, it will become useful when we have full 16 bits locale).
2005-11-15Do not clobber errno when calling close(2) in example code.Otto Moerbeek
From form@ via mpech@
2005-11-15Use a forward declaration of struct timespec instead of assumingTodd C. Miller
it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@
2005-11-14clarify the description of append mode;Jason McIntyre
this comes originally from a mail from mpech@; ok otto@, and no one else objected;
2005-11-13save errno in example code. from mpech@ ok jmc@Otto Moerbeek
2005-11-12- note that basename() may modify the stringJason McIntyre
- section header WARNING -> CAVEATS while here from han boetes; ok deraadt@
2005-11-10add $OpenBSD$ tags, as requested by dtucker.Marc Espie
2005-10-30Make xdrstdio_getlong() and xdrstdio_putlong() work on 64-bit big-endianMark Kettenis
systems. From NetBSD and FreeBSD. ok deraadt@, otto@, "looks correct to me" fgsch@
2005-10-29rewording; ok millert ottoJared Yanovich
2005-10-29Activate missing wcswidth, as noted by Alexander Bluhm.Marc Espie
okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one)
2005-10-27remove errors that no longer apply; ok millert, teduJared Yanovich
2005-10-26Always set errno on error. Based on NetBSD. ok jaredy@ pat@Otto Moerbeek
2005-10-26Remove obsolete comment. ok deraadt@Otto Moerbeek
2005-10-26clarifications from ray lai;Jason McIntyre
tweaked by tedu@ and myself;
2005-10-25dont' -> don't in comments;Jason McIntyre
from ray lai;
2005-10-20put HISTORY in the right order;Jason McIntyre
2005-10-20A library should not return EFAULT. Just segfault if a bogus orOtto Moerbeek
NULL pointer is passed in. ok espie@
2005-10-19once again: library routines should not check pointers and what errnoTheo de Raadt
with EFAULT. programmers ignore the error returns. please, please, please -- we want to crash so that the programmer will become aware of the bug and fix it instead. ok otto
2005-10-19add missing header for HISTORY section; ok jmc awhile agoJared Yanovich
2005-10-19EFAULT corrections; ok millert and ottoJared Yanovich
2005-10-19missing full stopJared Yanovich
2005-10-12Use queue macros instead of directly accessing fields. ok millert@Otto Moerbeek