OpenGrok
Cross Reference: ttcompat.c
xref
: /
src
/
usr.sbin
/
lpr
/
lpd
/
ttcompat.c
Home
|
History
|
Annotate
|
Download
|
only in
lpd
History log of
/src/usr.sbin/lpr/lpd/ttcompat.c
Revision
Date
Author
Comments
1.12
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.11
14-Jul-2002
wiz
Unifdef __STDC__. Remove __P(). ANSIfy.
1.10
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.9
15-Nov-1995
pk
Add RCSIDs
1.8
05-Oct-1995
mycroft
Update from kernel source.
1.7
05-Oct-1995
mycroft
Fix typos.
1.6
05-Oct-1995
mycroft
Fix various parity and character size bugs from the termios transition.
1.5
05-Oct-1995
mycroft
Fix a couple of things broken in the termios transition.
1.4
05-Oct-1995
mycroft
Fix type errors.
1.3
05-Oct-1995
mycroft
Fix typo in previous.
1.2
05-Oct-1995
mycroft
Change to use SET(), CLR(), and ISSET() macros.
1.1
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>
Indexes created Sun Oct 19 22:09:57 GMT 2025