OpenGrok
Cross Reference: cmdtab.c
xref
: /
src
/
usr.sbin
/
lpr
/
lpc
/
cmdtab.c
Home
|
History
|
Annotate
|
Download
|
only in
lpc
History log of
/src/usr.sbin/lpr/lpc/cmdtab.c
Revision
Date
Author
Comments
1.8
22-Oct-2006
christos
use c99 initializers
1.7
28-Nov-2005
christos
- WARNS = 4
- factor out commonly used code.
- constify
- use warn/warnx instead of printf
1.6
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
1.5
05-Oct-1997
mrg
- WARNS?=1
- be safe with unlinking files (from freebsd)
- remove register
- clean up $NetBSD$'s.
- use inet_ntoa() in one place (from openbsd)
- nul terminate after a bunch of strncpy()'s
- #ifdef __STDC__ rather than #if (from freebsd)
- be safe with a bunch of string operations (from freebsd)
- use warn()/err() over home grown versions (some from freebsd)
- rename warn() to nodaemon() to remove conflict with above
- check errno from failed kill(2) against ESRCH (from freebsd)
- use getopt() rather than home grown versions (from freebsd)
- clean up a bunch of man pages (some from freebsd)
- check for hostname spoof (from freebsd)
- use POSIX wait() interfaces
- use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd)
- deal with fork() failure
- index/rindex -> strchr/strrchr (some from freebsd)
- add B57600 and B115200 speeds (from freebsd)
- some KNF
- be safe with files passed in over the network (some from freebsd)
- check return value of malloc(), calloc() and strdup()
1.4
15-Nov-1995
pk
Add RCSIDs
1.3
18-May-1994
cgd
clean up that import. no rcsids yet.
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
18-May-1994
cgd
lpr from 4.4-Lite
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
Indexes created Thu Oct 02 14:10:14 GMT 2025