freebsd-skq/usr.sbin/lpr/lpc
Xin LI c7cc259656 Be more careful when doing el_parse() - only do it when el is
properly initialized, that happens when lpc is called from a tty.
Without this change, it's possible to get SIGSEGV simply doing:
	echo "..:" | lpc

Reported by:	Wojciech A. Koszek <dunstan at freebsd czest pl>
PR:		77462 (patch rewritten by myself)
MFC After:	1 week
2005-02-15 10:23:01 +00:00
..
cmds.c More changes to use __FBSDID() for setting rcsids, and fix the 2003-07-14 22:24:28 +00:00
cmdtab.c More changes to use __FBSDID() for setting rcsids, and fix the 2003-07-14 22:24:28 +00:00
extern.h More changes to use __FBSDID() for setting rcsids, and fix the 2003-07-14 22:24:28 +00:00
lpc.8 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lpc.c Be more careful when doing el_parse() - only do it when el is 2005-02-15 10:23:01 +00:00
lpc.h
Makefile Changes which rewrite 'lpc topq', and which add 'lpc bottomq'. These 2002-07-17 00:51:19 +00:00
movejobs.c More changes to use __FBSDID() for setting rcsids, and fix the 2003-07-14 22:24:28 +00:00