summaryrefslogtreecommitdiff
path: root/lib/libutil
AgeCommit message (Collapse)Author
2013-12-31Use output buffer size to limit copy-out of sun_path. Otherwise you maymlelstv
get a buffer overflow with strlcpy :)
2013-12-22Resolve symlinks and cook the targets instead of the symlink names.mlelstv
2013-08-07Update example using hex-escape-sequences to conform to gcc parsing rules.pgoyette
(See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 for details.)
2013-08-07Add an example using snprintb_m()pgoyette
Replace \*[Gt] and \*[Lt] with the simple characters > and < (OK wiz) XXX Note that the examples currently do not compile with GCC! The hex XXX character sequences such as \x10CACHE are being parsed as longer XXX than 2-hex-digit strings!
2013-07-22Use <major>.<minor> for NetBSD version.njoly
2013-07-20Use Mt for email addresses.wiz
2013-06-29add "maxthread" tunable to login.conf to adjust RLIMIT_NTHR.yamt
PR/47626 ok'ed by christos
2013-06-23Put code example on its own line, using Dl.wiz
Ok christos
2013-06-21Punctuation nit.wiz
(Shouldn't the whole line be .Dl or .Bl -literal instead?)
2013-06-20document login_getpwclass(3)christos
2013-06-12fix timezone bugs in rev.1.11 and rev.1.13. PR/47916.yamt
2013-06-12add rcsidyamt
2013-06-07Add a debugging format that prints all the fields with names.christos
2013-05-03Use more markup.wiz
2013-05-02Add getbyteorder() call.matt
2013-01-19Document that errno may be used to distinguish between aapb
non-error result of -1 and an error.
2013-01-19Distinguish between a non-error result of (time_t)-1 and an error result.apb
Modernise the test code inside #ifdef TEST.
2013-01-19mktime(3) works in local time, and trying to trick it byapb
setting tm_gmtoff doesn't work. Instead, call mktime_z(3) with a null timezone (so it works in UTC) and adjust the result afterwards. Now "date -d @0" correctly prints the local equivalent of 1970-01-01 00:00:00 UTC.
2013-01-16Sort sections.wiz
2013-01-15add some things to add next time we modify the functionchristos
2013-01-01Don't rely on something including sys/ioctl.h for us.dsl
2012-12-30Fix failure message for ecalloc.dholland
2012-12-30If malloc, calloc, or realloc returns NULL when a size of 0 wasdholland
requested, which is allowed by pertinent standards, honor it instead of bombing. Do not do this for calloc(x, y) where x != 0 && y != 0 but x*y == 0; in that case bomb.
2012-11-04don't include things you don't needchristos
2012-09-19Fix string_to_flags prototype. From Brooks Davis in PR 46986.wiz
Bump date.
2012-09-13Don't use const foo const as type, one const is enough.joerg
2012-07-27mention PATH_MAX instead of 16.christos
2012-07-27Remove trailing whitespace.wiz
2012-07-23Mention how big the name can be.christos
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-04-08Fix compat code, so if we failed to make raw, return the regular path.christos
2012-04-08End sentence with dot.wiz
2012-04-07Add and enable COMPAT_DKWEDGE which let's us autoconfigure wedges and bootchristos
with a non-wedge aware fstab.
2012-04-07- add getdiskrawname.christos
- exit on error for lint.
2012-04-07fix typochristos
2012-04-07read returns ssize_t, and err is a function name.christos
2012-04-07- pass correct types.christos
- use sizeof(var) instead of sizeof(type)
2012-04-07Remove trailing whitespace, add dot.wiz
2012-04-07add getfsspecnamechristos
2012-04-06Fix capitalization and typo, from Bug Hunting.wiz
2012-03-21These directories default to WARNS?=5matt
2012-01-07- add strspctchristos
- be explicit about string not being NUL terminated if bufsiz == 0
2011-12-17Use mktime(3) instead of hand-coded equivalent.apb
Don't treat negative results as errors (we should be able to handle years before 1970). XXX: This still fails on 1969-12-31 23:59:59.
2011-11-18remove clauses 3 and 4christos
2011-11-13Remove trailing dot; slightly improve wording.wiz
2011-11-13add manual pagechristos
2011-10-21Minor improvements.wiz
2011-10-21Forgot to commit this.christos
2011-10-21Add proc_comparechristos
2011-10-21Don't use = to assing SRCS, but += so that we can remove snprintb.c,christos
which was added elsewhere.