summaryrefslogtreecommitdiff
path: root/lib/libutil/login_fbtab.c
AgeCommit message (Collapse)Author
2002-06-25Now that we don't have a trailing newline we need to explicitly checkTodd C. Miller
that the first char in the line is not NUL after killing comments.
2002-06-22Use strtok_r() instead of strsep() since the latter treats consecutiveTodd C. Miller
field separators as empty field. This is not what we want for whitespace-delimited fields.
2002-06-21login_fbtab(3) fixes:Todd C. Miller
o make first arg const since we don't modify it o use strsep() instead of strtok() as strtok() changes internal state o add some bounds checking and use strlcat() instead of pointer arithmetic o ANSI function headers Originally based on a patch from Lars J. Buitinck but much modified.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-06-03new license from Wietse; permits modification. This code is derived fromTheo de Raadt
logdaemon, so this applies: ftp://ftp.porcupine.org/pub/security/logdaemon_license
1999-09-21Add opendisk from NetBSD.Constantine Sapuntzakis
Add OpenBSD tags to files
1998-04-13Use _PATH_DEV, not "/dev/"Todd C. Miller
Make init(8) call login_fbtab() correctly.
1997-11-18-WallTodd C. Miller
1996-09-16Bring prototypes into scopeThorsten Lockert
1996-07-31duh, theoTheo de Raadt
1996-07-31login_fbtab() in libutilTheo de Raadt