summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Expand)Author
2005-03-25Use the return value from getopt() instead of optopt in non-errorJared Yanovich
2004-12-16default wait time for dead server connection is 300 seconds, not 120.Moritz Jodeit
2004-11-17NI_WITHSCOPEID is no more.Jun-ichiro itojun Hagino
2004-09-30Avoid a segfault if only whitespace characters are entered at theTodd C. Miller
2004-09-28Simpler loop to free queue items. OK otto@Todd C. Miller
2004-09-28Fix leaks in error paths. from Patrick Latifi. ok millert@Otto Moerbeek
2004-05-10Do not always print banner page.Otto Moerbeek
2004-04-14Pass the job name to the input filter via the -j flag. Some filtersTodd C. Miller
2004-04-13Treat 'o' format files (PostScript) from MacOS 10.1 the same as 'l',Todd C. Miller
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
2004-02-01add paper.txt target;Jason McIntyre
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-16safer realloc. deraadt okJun-ichiro itojun Hagino
2003-09-26realloc fixes; ok deraadt millertPeter Valchev
2003-09-03plug mem leaks, pr3425 from patrick latifi. ok deraadt@Ted Unangst
2003-06-12- section reorderJason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-19No longer complain about printing a.out files; this sort of detection reallyPaul Janzen
2003-05-13Don't reformat output beyond a minimum terminal width (60).Paul Janzen
2003-05-12Do vis()-cleaning when displaying the print queue.Paul Janzen
2003-04-07kill last strcpy; ok millertTheo de Raadt
2003-04-05trivial strlcat, tedu@ okAnil Madhavapeddy
2003-03-31ascii -> ASCIIJason McIntyre
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