summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-15use cats/zaurus and install the manpages in the appropriate places,Dale Rahn
ok miod@ deraadt@
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-09Fix rounding of fractionless numbers. ok tom@ miod@Otto Moerbeek
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-08Fix sizing of fraction. ok tom@ deraadt@Otto Moerbeek
2005-03-07more macro simplification;Jason McIntyre
2005-03-07use .Pq rather than .Po/.Pc;Jason McIntyre
2005-03-07fd leak; andrushock@korovino.netTheo de Raadt
2005-03-07Improve the accuracy of log1p function on i387 for small values of x.Can Erkin Acar
From NetBSD, ok miod@
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-03Make sure we check snprintf return value for failure or truncation beforeChad Loder
using it. Make uu_lock_txfr work by properly checking return value from put_pid(). Fix an FD leak on the lockfile in an error path (from FreeBSD with modifications). OK millert@, input from otto@ and Bruno Rohee.
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-01pull in r1.8 from NetBSD, drochner: "amd64: stack sanity, leave theDaniel Hartmeier
return PC alone", via hugh@
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-28add DLT_IEEE802_11_RADIO (802.11 + radiotap header)Reyk Floeter
ok jsg@ deraadt@
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-10Fix a realloc() failure bug introduced in previous version.Matthieu Herrb
Found by Andey Matveev.
2005-02-09document [EBUSY];Jason McIntyre
from freebsd pr #73887; ok marc@
2005-02-07For amd64, build the bn routines in libcrypto with the amd64 specificBob Beck
x86_64-gcc.c replacement for the generic bn_asm.c. Seems to give a two to threefold speedup for rsa on amd64. ok millert@, hshoexer@
2005-02-07tidy up ERRORS and STANDARDS;Jason McIntyre