summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2005-03-30Do not promise anything about the contents of resolved on failure.Otto Moerbeek
ok millert@
2005-03-30strcasestr(3), a case-insensitive version of strstr(3). already in netbsdTheo de Raadt
and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him
2005-03-30welcome libc35.0Ted Unangst
2005-03-30make the resolver stat resolv.conf and update if it changes.Ted Unangst
useful feedback and ok deraadt@
2005-03-29Make realpath() thread-safe. New implementation does not use chdir(2) at all.Brad Smith
From: FreeBSD by Constantin S. Svintsoff <kostik (at) iclub.nsu.ru> ok otto@ millert@
2005-03-28add constTed Unangst
2005-03-28add some const to ether_*. remove bonus prototypes this brought out.Ted Unangst
ok deraadt@
2005-03-26Document that historic BSD getopt(3) set optopt for each char, not justTodd C. Miller
on error.
2005-03-26- use .Cm rather than .Nm for kernel optionsJason McIntyre
- no space needed before full stops here
2005-03-26acct, ktrace, and ptrace are only available if the kernel option is there.Ted Unangst
say so.
2005-03-25Change wording of APIWARNs to match arch-independent code.Mark Kettenis
ok deraadt@
2005-03-25Fix APIWARNs.Mark Kettenis
ok deraadt@
2005-03-25deregister (and deauto!). ok millert@ marco@Otto Moerbeek
2005-03-25ansify. ok deraadt@ moritz@Otto Moerbeek
2005-03-24Document that perror() treats an empty string like NULL.Todd C. Miller
2005-03-23ansify. ok deraadt@ millert@Otto Moerbeek
2005-03-23ansify. ok deraadt@ moritz@Otto Moerbeek
2005-03-23deregister & ansify. ok deraad@ marco@ cloder@Otto Moerbeek
2005-03-22add missing "of" to make this a real sentence.Hans-Joerg Hoexer
ok henning mpf miod jmc
2005-03-16chown(8): mention that this utility clears setuid/setgid bits by default;Jason McIntyre
from stuart henderson (pr #4149); chown(2)/chown(8): mention that sysctl variable fs.posix.setuid=0 overrides this behaviour; from millert and otto; ok deraadt@ otto@ millert@
2005-03-15- correct include file (from david leonard, pr 4147)Jason McIntyre
- r_number is type int, not long - lessen display indent to avoid line split ok deraadt@ millert@
2005-03-12There is no need to call freeaddrinfo() in case of an error.Claudio Jeker
getaddrinfo() does that already by itself. OK jmc@ beck@
2005-03-08do not trash errno before using it, do not pass garbage args to getnameinfoTheo de Raadt
ok henning andrushock@korovino.net
2005-03-08fix typo in comment.Moritz Jodeit
2005-03-08handle snprintf() returning -1.Moritz Jodeit
ok cloder@ henning@ hshoexer@
2005-03-08handle snprintf() returning -1.Moritz Jodeit
ok cloder@ henning@ hshoexer@
2005-03-07more macro simplification;Jason McIntyre
2005-03-07fd leak; andrushock@korovino.netTheo de Raadt
2005-03-07turn on APIWARN (prints link-time warnings for a few more functions). TheTheo de Raadt
snapshots have been built with this for more than a year, but the releases have not. This is a fair bit more noisy in the ports tree, but it is good advice for people about how they can improve their code. Let us see where the annoyance vs worthwhile balance lands ok pvalchev
2005-03-06correct snprintf return value checks, where the wrong ptrMoritz Jodeit
was used for calculating the buffer size. ok tedu@ cloder@
2005-03-06Always remember to check snprintf return value for -1.Chad Loder
OK hshoexer, jsg, otto, krw
2005-03-02Consistent #if protection of rcs ids; Francois PerradTodd C. Miller
2005-03-02More const in h_errlist and h_nerr; Francois PerradTodd C. Miller
2005-03-02Explicitly leave room for the NUL byte in {wday,mon}_name; Francois PerradTodd C. Miller
2005-03-02Fix typo that breaks compilation #ifndef __weak_alias; Francois PerradTodd C. Miller
2005-03-01Update struct _ftsent to match with fts.h.Marco Pfatschbacher
Input from jaredy@; ok deraadt@, miod@
2005-03-01Set errno right before return(), so that it does not risk being resetMiod Vallat
by any other functions we will invoke in-between. Fix from Andrey Matveev <andrushock@korovino.net>
2005-02-27use PW_SIZE and PW_COPY macros for simplified reading.Patrick Latifi
ok otto millert
2005-02-25Be correct in our man pages when talking about NUL termination (that is,Chad Loder
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
2005-02-23use a string format argument instead of nothing in the exampleRobert Nagy
ok otto@
2005-02-19fix pasto; from d@Todd C. Miller
2005-02-17alyte spelling-in-comment fixesJolan Luff
2005-02-16Stash the environment pointer we get from realloc() instead of justTodd C. Miller
setting a flag. That way when we are called again we can be sure to realloc() the right thing, regardless of the current value of environ. When the stashed value != environ (or when we are called for the first time), copy the existing entries from environ and set environ to the new value. OK deraadt@, beck@, djm@
2005-02-07tidy up ERRORS and STANDARDS;Jason McIntyre
2005-02-01Replace broken frexp() with a working one from FreeBSD. There'sTodd C. Miller
no need to have a copy for each platform with ieee floating point, only vax needs a special version (which probably has similar bugs). OK and with help from otto@
2005-01-29correct .Rs references;Jason McIntyre
2005-01-28fix reversed short description; ok itojun@Damien Miller
2005-01-22some fixes from netbsd, plus a few of my own;Jason McIntyre
ok krw@
2005-01-11more minor tweaks, ok jmcJared Yanovich
2005-01-09grammar from fbsd -r 1.18;Jason McIntyre