freebsd-dev/usr.sbin/lpr
Warner Losh bc407914f9 lpc/cmds.c:
From NetBSD via OpenBSD to fix NetBSD PR #506
	More descriptive message for printer status
	(OpenBSD: 1.2)

	Various warnings cleaned up (OpenBSD: 1.4)

lpc/lpc.c:
	Various warnings cleaned up (OpenBSD: 1.3)

lpd/lpd.c:
	Remove trailing blank lines (OpenBSD: 1.2)

	Potential umask problem with creating /dev/printer
	(OpenBSD: 1.4 and 1.5)

	Ftp bounce attack (untested on FreeBSD)
	(OpenBSD: 1.6, 1.8, 1.9)
	Fencepost in strncpy
	(OpenBSD: 1.6)

lpd/printjob.c:
	Fix from freebsd for waiting for an exiting filter, that
	appears not in the FreeBSD CVS tree.
	(OpenBSD: 1.6)

lpd/recvjob.c:
	Buffer overflow protection: use strncpy rather than strcpy.
	(OpenBSD: 1.3)

lpr/lpr.c:
	NetBSD change of return type for main()
	(OpenBSD: 1.2)

	Restrict time running as root
	(OpenBSD: 1.7)

	Use getcwd rather than getwd (from NetBSD)

	Use snprintf rather than sprintf
	(OpenBSD: 1.8)

	Minor tweak to end of loop and buffer overflow sanity.  card()
	overflow already in FreeBSD
	(OpenBSD: 1.9)

lptest/lptest.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.2)

pac/pac.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.3)

Obtained from: OpenBSD
1996-10-27 03:06:52 +00:00
..
common_source lpc/cmds.c: 1996-10-27 03:06:52 +00:00
filters Correct the Unix programmer's error #1: "char c = getc();". 1996-07-17 20:14:42 +00:00
lp Clean out the BUGS section/comments now that our lpr has a better 1996-05-11 18:56:11 +00:00
lpc lpc/cmds.c: 1996-10-27 03:06:52 +00:00
lpd lpc/cmds.c: 1996-10-27 03:06:52 +00:00
lpq This commit was generated by cvs2svn to compensate for changes in r15637, 1996-05-05 14:04:33 +00:00
lpr lpc/cmds.c: 1996-10-27 03:06:52 +00:00
lprm Get rid of update. Make man page installation work with our scheme 1994-08-05 16:31:05 +00:00
lptest lpc/cmds.c: 1996-10-27 03:06:52 +00:00
pac lpc/cmds.c: 1996-10-27 03:06:52 +00:00
runqueue lpc/cmds.c: 1996-10-27 03:06:52 +00:00
SMM.doc BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
Makefile Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00