summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Expand)Author
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
2013-12-29Fix fd leaks when fd < 0 or flock() fails. Original diff fromKenneth R Westerback
2013-12-10Remove the printcap fc, fs, xc, xs capabilities from lpd that were usedChristian Weisgerber
2013-11-24more ctype cleanupsTheo de Raadt
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
2013-08-08Prep for big ino_t: cast to unsigned long long and format with %ll or %qPhilip Guenther
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-02-15Add missing break, reported by Jared S. Candelaria.Martin Pieuchot
2013-01-17some simple macro fixes;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-11-29Change scandir()'s 'select' argument fromPhilip Guenthe
2012-03-22Update alphasort() and scandir()'s argument types to match POSIX:Philip Guenthe
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre
2010-10-28more roff removal;Jason McIntyre
2010-03-22Do not leak file descriptor `fd' on error path; from zinovikTheo de Raadt
2010-02-18Each .Bk must be closed by .Ek.Ingo Schwarze
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
2009-12-29replace a few remaining UNIX terms with .Ux macros; this diffIgor Sobrado
2009-10-29it is possible specifying more than one printer concurrently; useIgor Sobrado
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-03-03spacesKevin Steves
2008-09-02be more careful in checking disk space; ok millertTheo de Raadt
2008-05-26cgetstr(3) can also return 2 so handle that. Also restructre things a bitOtto Moerbeek
2008-05-22Comparing string literals does not work as the author expected.Otto Moerbeek
2008-04-15- make it clear that hosts.lpd follows the same syntax that hosts.equiv(5)Antoine Jacoutot
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-05remove code for -W, argument now a no-op; ok millert@Kevin Steves