OpenGrok
Cross Reference: startdaemon.c
xref
: /
src
/
usr.sbin
/
lpr
/
common_source
/
startdaemon.c
Home
|
History
|
Annotate
|
Download
|
only in
common_source
History log of
/src/usr.sbin/lpr/common_source/startdaemon.c
Revision
Date
Author
Comments
1.15
16-May-2007
christos
coverity CID 1220: Don't use size_t for return of read.
1.14
28-Nov-2005
christos
- WARNS = 4
- factor out commonly used code.
- constify
- use warn/warnx instead of printf
1.13
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.12
14-Jul-2002
wiz
Unifdef __STDC__. Remove __P(). ANSIfy.
1.11
26-Sep-1999
mrg
delint and other cleanups.
1.10
18-Jul-1998
lukem
branches: 1.10.4;
use AF_LOCAL instead of AF_UNIX
1.9
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.8
09-Dec-1996
mrg
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
1.7
28-Nov-1995
jtc
branches: 1.7.4;
merge in changes from 1.1 release branch
1.6
15-Nov-1995
pk
Add RCSIDs.
1.5
03-Oct-1995
hpeyerl
-- convert sgtty to termios. From: Scott Bartram <scottb@iis.net>
-- Use seteuid() to only give lpr, lprm, lpq and lpc root when they
need it from matthew green <mrg@mame.mu.oz.au>
1.4
18-May-1994
cgd
clean up that import. no rcsids yet.
1.3
10-Nov-1993
cgd
bzero structs before using; fix from theo
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
1.7.4.1
26-Jan-1997
rat
Update from trunk. Fixes security bugs.
1.10.4.1
27-Dec-1999
wrstuden
Pull up to last week's -current.
Indexes created Tue Sep 23 14:10:03 GMT 2025