Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-10-11 | use SEEK_SET; chl@tuxfamily.org | Theo de Raadt | |
2006-04-08 | Plug memory leak when nitems == 0. | Ray Lai | |
From NetBSD from Coverity CID 1752. OK jaredy@ | |||
2005-11-12 | use asprintf instead; dhill@mindcry.org | Theo de Raadt | |
2005-07-17 | document that clients need dns entries; | Jason McIntyre | |
from martin crossley, pr #4293; ok krw@, millert@ | |||
2005-04-28 | add vsnprintf error checking. ok cloder@ millert@ | Moritz Jodeit | |
2005-03-25 | Use the return value from getopt() instead of optopt in non-error | Jared Yanovich | |
cases since optopt is not set in these cases, and it is not required by POSIX that it should be. ok millert otto | |||
2004-12-16 | default wait time for dead server connection is 300 seconds, not 120. | Moritz Jodeit | |
ok millert@, henning@ | |||
2004-11-17 | NI_WITHSCOPEID is no more. | Jun-ichiro itojun Hagino | |
2004-09-30 | Avoid a segfault if only whitespace characters are entered at the | Todd C. Miller | |
lpc> prompt and fix an off by one when splitting a line into an argument vector. Based on a patch from Patrick Latifi. OK otto@ | |||
2004-09-28 | Simpler loop to free queue items. OK otto@ | Todd C. Miller | |
2004-09-28 | Fix leaks in error paths. from Patrick Latifi. ok millert@ | Otto Moerbeek | |
2004-05-10 | Do not always print banner page. | Otto Moerbeek | |
ok henning@ millert@ | |||
2004-04-14 | Pass the job name to the input filter via the -j flag. Some filters | Todd C. Miller | |
(like foomatic) expect to be able to pass information from lpr via the job name. OK beck@ | |||
2004-04-13 | Treat 'o' format files (PostScript) from MacOS 10.1 the same as 'l', | Todd C. Miller | |
not 'f', since PostScript can contain binary data. From FreeBSD. | |||
2004-04-07 | Remove those option letters from the getopt string which do not have a case | Aaron Campbell | |
handler below. millert@ ok | |||
2004-02-01 | add paper.txt target; | Jason McIntyre | |
2003-11-08 | typos from Jonathon Gray; | Jason McIntyre | |
2003-10-16 | safer realloc. deraadt ok | Jun-ichiro itojun Hagino | |
2003-09-26 | realloc fixes; ok deraadt millert | Peter Valchev | |
2003-09-03 | plug mem leaks, pr3425 from patrick latifi. ok deraadt@ | Ted Unangst | |
2003-06-12 | - section reorder | Jason McIntyre | |
- macro fixes - kill whitespace at EOL - new sentence, new line | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-19 | No longer complain about printing a.out files; this sort of detection really | Paul Janzen | |
belongs in lpd filters. | |||
2003-05-13 | Don't reformat output beyond a minimum terminal width (60). | Paul Janzen | |
millert@ ok | |||
2003-05-12 | Do vis()-cleaning when displaying the print queue. | Paul Janzen | |
ok deraadt@, ian@ | |||
2003-04-07 | kill last strcpy; ok millert | Theo de Raadt | |
2003-04-05 | trivial strlcat, tedu@ ok | Anil Madhavapeddy | |
2003-03-31 | ascii -> ASCII | Jason McIntyre | |
2003-03-27 | Add -q to the getopt() string and document it; Brian Ginsbach | Todd C. Miller | |
2003-03-27 | Fix a bug introduced when getopt() support was added; -h takes an | Todd C. Miller | |
argument but -r does not. These were reversed in the getopt() string. Fix from Carson Harding | |||
2003-03-25 | Fix last commit; to emulate setuid daemon + PRIV_END we need to | Todd C. Miller | |
set the real & effective uids to the calling user and the saved uid to daemon. Fixes a problem where lpr could not print files that were not world-readable. | |||
2003-03-13 | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | Theo de Raadt | |
2003-03-11 | Make lpr and lprm setuid root but drop to daemon very early. | Todd C. Miller | |
Functionally this is the same as when lpr and lprm were setuid daemon but the executable are now owned by root which is safer. deraadt@ OK | |||
2003-03-08 | Honor the :sh: flag in the local printcap for remote printers too | Todd C. Miller | |
instead of forcing the user to use lpr's "-h" flag. Adapted from a patch in FreeBSD from Scott James Remnant. | |||
2003-02-13 | Fix loop invariants in rmremote(). Reported by Arne Woerner in PR | Todd C. Miller | |
3084; different fix used. Hopefully this makes the code in question easier to read. deraadt@ henric@ OK | |||
2003-02-09 | typos; | Jason McIntyre | |
2003-01-06 | Typo: s/to be use if/to be used if/ s/Standford/Stanford/ | Chad Loder | |
2002-12-08 | GNU semantics say that if optstring begins with '-' then | Todd C. Miller | |
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful. | |||
2002-09-06 | use more socklen_t; pvalchev | Theo de Raadt | |
2002-07-27 | merge if() and foo = snprintf checks better; millert ok | Theo de Raadt | |
2002-06-23 | uid_t and gid_t are unsigned | Theo de Raadt | |
2002-06-19 | stretch some ugly while(); | Theo de Raadt | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-13 | Fixed some lpd bugs while on the plane from Calgary: | Todd C. Miller | |
o mark fatal() as __dead o add SIGINT to the signal mask when installing abort() as a handler. We can end up in abortpr() due to several different signals and since abortpr() kill()s itself with SIGINT we need to explicately protect against the current process receiving SIGINT while in abortpr() o Don't leak the lock fd to children spawned by lpd o Close the lock file (and thus unlocke immediately in abortpr(). Otherwise, if there is an output filter the lock file only gets closed after we finish waiting for the output filter to die. This causes a race condition in lprm such that the per-printer daemon does not get restarted when lprm kills the active job (noticed during c2k2 with the mp3 printer spool ;-) o Open the printcap file with privs raised just in case it is not world-readable. | |||
2002-06-11 | lprm needs to be setuid daemon after all | Todd C. Miller | |
2002-06-09 | Better fix for correct queue printing when things have been moved around. | Todd C. Miller | |
2002-06-09 | Don't print jobs in transit to a remote queue as being "active" | Todd C. Miller | |
2002-06-09 | Convert remaining K&R function headers to ANSI | Todd C. Miller | |
2002-06-09 | o Kill "garbage" global (unused) | Todd C. Miller | |
o Kill "rank" global (doesn't need to be global) o Make inform() static (local to displayq.c) o Pass in rank to inform() based on index within sorted mtime array o Simplify compar() | |||
2002-06-08 | o Replace some hard-coded octal constants w/ S_I* | Todd C. Miller | |
o Remove some unneeded casts to char * when calling free() |