freebsd-dev/usr.sbin/lpr
Joerg Wunsch 28185a1971 One could be surprised how much bugs can still be found here...
Properlay clean the global RM variable if cgetstr() failed for it.
Otherwise, a connection attempt to a remote machine was made (and a
bogus result code printed) if a local printer followed a remote one in
printcap, and you did a `lpq -a', since checkremote() falsely assumed
the printer to be a remote one.

While i was at it, removed a gratuituous newline printed in front of
the remote machine's name, thus making the output more consistent (and
better machine-parseable) now.
1997-10-15 12:16:37 +00:00
..
common_source One could be surprised how much bugs can still be found here... 1997-10-15 12:16:37 +00:00
filters Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
lp Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
lpc Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
lpd Improve my hack from rev 1.6 of displayq.c, and make the TCP 1997-10-14 16:01:02 +00:00
lpq Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
lpr Improve my hack from rev 1.6 of displayq.c, and make the TCP 1997-10-14 16:01:02 +00:00
lprm Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
lptest lpc/cmds.c: 1996-10-27 03:06:52 +00:00
pac Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
runqueue Improve my hack from rev 1.6 of displayq.c, and make the TCP 1997-10-14 16:01:02 +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