summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix the embedded scope hack. They way this was written is buggy since theclaudio2021-01-191-15/+10
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-032-6/+6
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-2/+1
* Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.bentley2016-03-171-9/+10
* Move ckqueue() to common_source/common.cjca2016-02-292-2/+32
* Move prototypes of local functions from lp.h to the .c files and maketb2016-01-124-56/+50
* Remove support for lpd.pid file. OK deraadt@millert2015-10-281-2/+1
* Use AF_UNIX instead of AF_LOCAL.millert2015-10-271-3/+3
* Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther2015-10-111-2/+2
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-202-5/+5
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-166-14/+14
* use nanosleep() instead of select(); ok jsingderaadt2014-11-021-4/+4
* reallocarray() obviouslyderaadt2014-10-161-5/+4
* Make sure the correct errno is reported by warn* or err* and notguenther2014-07-201-2/+3
* stat(2) on the spool file needs privileges. Fixes file size reported bypascal2014-05-211-2/+6
* Prevent lpd(8) from looking into hosts.equiv.ajacoutot2014-04-201-2/+1
* Remove the printcap fc, fs, xc, xs capabilities from lpd that were usednaddy2013-12-102-10/+2
* more ctype cleanupsderaadt2013-11-242-4/+4
* If a constant string needs a name, use a static const array instead of aguenther2013-10-271-3/+3
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
* Change scandir()'s 'select' argument fromguenther2012-11-292-4/+4
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-044-10/+10
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-275-41/+5
* spacesstevesk2009-03-031-3/+3
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
* remove #ifndef SUN_LEN; ok millert@stevesk2007-05-011-5/+2
* use warn() vs. perror() for consistency; ok millert@stevesk2007-05-011-3/+3
* I have an HP LaserJet (P2015dn) whose LPR implementation may not endstevesk2007-04-081-4/+8
* trailing "\n" not needed in fatal(); ok millert@stevesk2007-04-072-6/+6
* remove unused variable; ok millert@stevesk2007-03-161-3/+2
* typos in comments; ok millert@stevesk2007-03-131-4/+4
* Plug memory leak when nitems == 0.ray2006-04-081-3/+3
* NI_WITHSCOPEID is no more.itojun2004-11-171-6/+2
* Simpler loop to free queue items. OK otto@millert2004-09-281-6/+4
* Fix leaks in error paths. from Patrick Latifi. ok millert@otto2004-09-281-10/+17
* realloc fixes; ok deraadt millertpvalchev2003-09-261-6/+12
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-028-53/+21
* Don't reformat output beyond a minimum terminal width (60).pjanzen2003-05-131-2/+4
* Do vis()-cleaning when displaying the print queue.pjanzen2003-05-121-3/+9
* kill last strcpy; ok millertderaadt2003-04-071-4/+5
* trivial strlcat, tedu@ okavsm2003-04-051-3/+3
* Fix loop invariants in rmremote(). Reported by Arne Woerner in PRmillert2003-02-131-11/+24
* merge if() and foo = snprintf checks better; millert okderaadt2002-07-271-4/+4
* Fixed some lpd bugs while on the plane from Calgary:millert2002-06-132-5/+5
* Better fix for correct queue printing when things have been moved around.millert2002-06-091-14/+9
* Don't print jobs in transit to a remote queue as being "active"millert2002-06-091-4/+9
* Convert remaining K&R function headers to ANSImillert2002-06-092-13/+8
* o Kill "garbage" global (unused)millert2002-06-093-23/+19
* o Replace some hard-coded octal constants w/ S_I*millert2002-06-081-4/+4
* use the dirfd macro instead of reaching into the DIR and pulling out dd_fdmillert2002-06-081-3/+3