summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Expand)Author
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
2021-01-19Fix the embedded scope hack. They way this was written is buggy since theClaudio Jeker
2020-04-23 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;Jason McIntyre
2020-02-08correct Research Unix edition "appeared in" use in HISTORYJonathan Gray
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-09-20Avoid overflow/truncation during string->integer converion by eliminatingPhilip Guenther
2016-12-28fix the remaining cases of .Xr with only one argumentIngo Schwarze
2016-11-22Fix printf of NULL for the FILTERERR case when the tempfile is emptyTodd C. Miller
2016-03-17simplify previous; ok bentleyJason McIntyre
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.Anthony J. Bentley
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2016-02-29Move ckqueue() to common_source/common.cJeremie Courreges-Anglas
2016-02-28Fix ghastly whitespace. From Chris Bennetttb
2016-01-29Remove code that has been disabled for almost 20 years:tb
2016-01-27Fix typo in comment. From Chris Bennett, thanks!tb
2016-01-12Move prototypes of local functions from lp.h to the .c files and maketb
2015-12-28build all lpr tools with -Werror-implicit-function-declarationSebastian Benoit
2015-12-19Remove NULL-check before free().mmcc
2015-11-17no more pac;Jason McIntyre
2015-11-17off to the bitbucket in the skyTheo de Raadt
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-28Remove support for lpd.pid file. OK deraadt@Todd C. Miller
2015-10-27Use AF_UNIX instead of AF_LOCAL.Todd C. Miller
2015-10-11Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptPhilip Guenther
2015-09-29unbreak tree.Theo de Raadt
2015-09-29Replace call to __ivaliduser_sa() with a pared down version thatTodd C. Miller
2015-09-12add missing .Ar macrosIngo Schwarze
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h>Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-16Replace setpgrp(0, getpid()) with setpgid(0, 0). OK deraadt@ tedu@Todd C. Miller
2014-11-18Nuke more obvious #include duplications.Kenneth R Westerback
2014-11-02use nanosleep() instead of select(); ok jsingTheo de Raadt
2014-10-17Remove chunk special-casing malloc(siz) for realloc(NULL, siz). BitTheo de Raadt
2014-10-16reallocarray() obviouslyTheo de Raadt
2014-10-11Userland reallocarray() audit.Doug Hogan
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-07-12The hosts.lpd file must exist, or no permission is granted. Change theTheo de Raadt
2014-05-21stat(2) on the spool file needs privileges. Fixes file size reported byPascal Stumpf
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-04-20Prevent lpd(8) from looking into hosts.equiv.Antoine Jacoutot
2014-04-20clarify a bit about hosts.lpdTed Unangst
2014-04-19remove hosts.equiv xrTed Unangst
2014-02-07Fix remote printing; broken in rev 1.50. OK guenther@ stsp@Todd C. Miller
2014-01-22Fixed typo in error message.Tobias Stoeckmann
2014-01-22fix a leakJonathan Gray
2014-01-20Use SEEK_SET instead of hardcoded 0.Tobias Stoeckmann
2014-01-20Fix race condition during symlink check. If there was no symbolic linkTobias Stoeckmann