summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Expand)Author
2003-03-27Add -q to the getopt() string and document it; Brian GinsbachTodd C. Miller
2003-03-27Fix a bug introduced when getopt() support was added; -h takes anTodd C. Miller
2003-03-25Fix last commit; to emulate setuid daemon + PRIV_END we need toTodd C. Miller
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-11Make lpr and lprm setuid root but drop to daemon very early.Todd C. Miller
2003-03-08Honor the :sh: flag in the local printcap for remote printers tooTodd C. Miller
2003-02-13Fix loop invariants in rmremote(). Reported by Arne Woerner in PRTodd C. Miller
2003-02-09typos;Jason McIntyre
2003-01-06Typo: s/to be use if/to be used if/ s/Standford/Stanford/Chad Loder
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