History log of /netbsd-src/usr.sbin/lpr/common_source/startdaemon.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 0eeca5df 16-May-2007 christos <christos@NetBSD.org>

coverity CID 1220: Don't use size_t for return of read.


# 04723c3f 28-Nov-2005 christos <christos@NetBSD.org>

- WARNS = 4
- factor out commonly used code.
- constify
- use warn/warnx instead of printf


# 326b2259 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.


# 895dc72a 14-Jul-2002 wiz <wiz@NetBSD.org>

Unifdef __STDC__. Remove __P(). ANSIfy.


# 23b9fac0 26-Sep-1999 mrg <mrg@NetBSD.org>

delint and other cleanups.


# 786b86d7 18-Jul-1998 lukem <lukem@NetBSD.org>

use AF_LOCAL instead of AF_UNIX


# fe7ed7ce 05-Oct-1997 mrg <mrg@NetBSD.org>

- 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 _

- 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()

show more ...


# 077acf50 09-Dec-1996 mrg <mrg@NetBSD.org>

remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.


# 21908ddb 28-Nov-1995 jtc <jtc@NetBSD.org>

merge in changes from 1.1 release branch


# f93236c8 15-Nov-1995 pk <pk@NetBSD.org>

Add RCSIDs.


# 8e41ca80 03-Oct-1995 hpeyerl <hpeyerl@NetBSD.org>

-- 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>


# 2847add2 18-May-1994 cgd <cgd@NetBSD.org>

clean up that import. no rcsids yet.


# d29e3897 10-Nov-1993 cgd <cgd@NetBSD.org>

bzero structs before using; fix from theo


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources