summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Expand)Author
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
2002-09-06use more socklen_t; pvalchevTheo de Raadt
2002-07-27merge if() and foo = snprintf checks better; millert okTheo de Raadt
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-19stretch some ugly while();Theo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-13Fixed some lpd bugs while on the plane from Calgary:Todd C. Miller
2002-06-11lprm needs to be setuid daemon after allTodd C. Miller
2002-06-09Better fix for correct queue printing when things have been moved around.Todd C. Miller
2002-06-09Don't print jobs in transit to a remote queue as being "active"Todd C. Miller
2002-06-09Convert remaining K&R function headers to ANSITodd C. Miller
2002-06-09o Kill "garbage" global (unused)Todd C. Miller
2002-06-08o Replace some hard-coded octal constants w/ S_I*Todd C. Miller
2002-06-08use the dirfd macro instead of reaching into the DIR and pulling out dd_fdTodd C. Miller
2002-06-08make this actually compileTodd C. Miller
2002-06-08Force lpd socket to be mode 0660, group daemonTodd C. Miller
2002-06-08Remove some debugging codeTodd C. Miller
2002-06-08Remove setuid root from lp*. lpr needs to be setuid daemon so theTodd C. Miller
2002-05-28Repair remote printing; maxfd was not set correctly for remote connections.Todd C. Miller
2002-05-28Remove useless sigaddset()Todd C. Miller
2002-05-22unlink lpd.pid if killed by a signalTodd C. Miller
2002-05-22Use O_EXLOCK in open() instead of flock() to eliminate a potential lockingTodd C. Miller
2002-05-20Pull in useful bits from NetBSD and make our lp* easier to diff andTodd C. Miller
2002-05-18Update paths from 4.3BSD to 4.4BSD; partially from NetBSDTodd C. Miller
2002-02-24getc, getchar, etc return an int, not a charPeter Valchev
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-13When you give command examples and etc., in a manual page prefix them with:Mike Pechkin
2002-01-21s/deamon/daemon/Theo de Raadt
2002-01-07Revert local changes that should not have been committedTodd C. Miller
2002-01-07To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGNTodd C. Miller
2001-12-06use err/warn and friends instead of printf/exit.Eric Jackson
2001-11-27Fix check for '/' in cf file and change the check for '/' in df fileTodd C. Miller
2001-11-23use the same siginterrupt() trick in lpc(1) as in timedc(1). we have to hackTheo de Raadt
2001-11-19only slight fixes needed in signal handlersTheo de Raadt
2001-11-19use _exit in signal handlerTheo de Raadt
2001-11-01displayq to honor the terminal width; millert@ okMichael Shalayeff
2001-10-29MacOS 10.1 lpr clients send a format character of "o" to indicate postscript;...Theo de Raadt
2001-09-19occured->occurredMike Pechkin
2001-09-05do not select(20, ...)Theo de Raadt
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ...Todd C. Miller
2001-08-30When using dup2() to make a socket be stdout, first check that itTodd C. Miller
2001-08-30o kill registerTodd C. Miller
2001-08-30Better buffer lengths (MAXFOO and FOO_MAX) based on a patch fromTodd C. Miller
2001-08-30Use NAME_MAX, not MAXPATHLEN for buffer sizes since they are notTodd C. Miller
2001-08-29Fix buffer oflow reading from queue file. While we are at it, crankTodd C. Miller
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-25Fix a bunch of one-byte possible overflowsPaul Janzen
2001-06-25A little more careful with buffers, only relevant if /etc/printcap was setPaul Janzen