summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/common.c
Commit message (Expand)AuthorAgeFilesLines
* Change the closeallfds() routine to use closefrom() when it isgad2013-05-271-7/+13
* Let lpr build with -Wmissing-variable-declarations.ed2012-10-251-2/+0
* Check the return error of set[ug]id. While this can never fail in theeadler2012-10-221-12/+13
* Make sure that arraysz is initialized to a value larger than zero.jh2012-07-171-0/+2
* Remove trailing whitespace.jh2012-07-171-4/+4
* Hide DIR definition by making it an opaque struct typedef.gleb2012-05-191-1/+1
* Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithmgad2004-12-311-0/+55
* Get the 'sccsid' lines even closer to correct style(9) form. Thegad2003-07-141-0/+3
* Take advantage of the common_source/lp.cdefs.h file to change lprgad2003-07-141-6/+4
* Fix set_qstate() so it correctly checks for any error from chmod().gad2002-07-121-1/+1
* Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.gad2002-07-121-1/+10
* Add two variables to struct jobqueue, and change the way that getq()gad2002-07-121-3/+6
* Bah humbug. Fix another typo on the same comment line. It also hadgad2002-06-131-1/+1
* Fix a typo in a comment from the previous commit. I had a bullet-charactergad2002-06-131-1/+1
* Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable',gad2002-06-131-0/+133
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-15/+0
* Add 'const' to some casts to fix two warnings that are printed by thegad2002-04-221-2/+2
* Fix a few more minor compile-time warnings, mainly by using size_t wheregad2001-07-231-10/+15
* Replace three subtly-wrong calls to strncpy with calls to strlcpy, andgad2001-07-151-14/+12
* Rename a few global variables which hold hostname-related values to begad2001-06-151-2/+3
* Rename global variable 'name' to 'progname', thus fixing a number ofgad2001-06-151-2/+2
* Fix about 90-100 warnings one gets when trying to compile lpr&friendsgad2001-06-121-40/+17
* Make sure the euid is restored in an obscure error situation.gad2001-04-061-3/+4
* Reset the seteuid in a few obscure error situations.gad2000-11-151-1/+4
* Just some style-related improvements.gad2000-11-151-24/+32
* Cosmetic change of a structure name.gad2000-11-061-17/+17
* Implement new printcap options of sr= (aka stat.recv) and sr= (aka stat.send)gad2000-11-021-0/+285
* Print files submitted at the same instant in deterministic order.wollman2000-05-031-5/+20
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
* Fix additional warnings. Remove -Werror, since some people have complainedwollman1998-09-111-2/+2
* Mega lpd/lpd upgrade, part I:wollman1997-12-021-174/+80
* Improve my hack from rev 1.6 of displayq.c, and make the TCPjoerg1997-10-141-0/+1
* Two minor, pedantic fixes from bde for my last pedantic fixes, plusimp1997-07-291-4/+4
* Fix boatloads of buffer overflows from the OpenBSD tree.imp1997-07-291-2/+2
* Use setuid/seteuid around dangerous operations. Also a few bufferimp1997-07-231-1/+9
* Add code to make sure that we don't overflow the buffer that we copyimp1997-07-181-1/+4
* Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's reallyjoerg1996-05-051-19/+44
* Remove definitions and declarations for FS, FC, XS, XC variables, andsef1996-04-031-4/+1
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+352
OpenPOWER on IntegriCloud