summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Collapse)Author
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-05do not select(20, ...)Theo de Raadt
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-08-30When using dup2() to make a socket be stdout, first check that itTodd C. Miller
is not already stdout (fd 1). Otherwise we end up closing stdout which is not the intention. Also use STDOUT_FILENO instead of 1. From a conversation with huntting@glarp.com.
2001-08-30o kill registerTodd C. Miller
o add const to rcsid and copyright strings o placate -Wall
2001-08-30Better buffer lengths (MAXFOO and FOO_MAX) based on a patch fromTodd C. Miller
ianm@cit.uws.edu.au.
2001-08-30Use NAME_MAX, not MAXPATHLEN for buffer sizes since they are notTodd C. Miller
full paths (cannot contain a slash). From discussion with drosih@rpi.edu
2001-08-29Fix buffer oflow reading from queue file. While we are at it, crankTodd C. Miller
the size of buffers that can hold filenames to MAXPATHLEN.
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
up insanely wrong.
2001-06-22use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-04-05another euid mixup; wiz@danbala.ifoer.tuwien.ac.atTheo de Raadt
2001-04-04missung euid swapout; j@ida.interface-business.deTheo de Raadt
2001-02-15MAXLOGNAME; ianm@cit.uws.edu.auTheo de Raadt
2001-02-07spellingTodd T. Fries
2000-11-21sigjmp & statics begoneTheo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-08-24more fixes in that area; dholland@eecs.harvard.eduTheo de Raadt
2000-08-24only loop through real groups; reported by dholland@eecs.harvard.eduTheo de Raadt
2000-06-28syslog should use %sTheo de Raadt
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-03-14Suffix "i.e." and "e.g." with a comma. Just another really picky man pageAaron Campbell
commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
2000-03-04Try to standardize the options list introduction; it should read "The optionsAaron Campbell
are as follows:", except in special cases.
1999-10-17Use the AT&T UNIX macros.Aaron Campbell
1999-07-04more macro conversionAaron Campbell
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-06-05more .Os cleansingAaron Campbell
1999-05-28more .El madnessAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1998-08-03Set SO_REUSEADDR on printer/tcp service (port 515); csapuntz@clearviewtech.comTodd C. Miller
1998-06-28Treat a printer as remote iff RM is not us or RP is set and it doesn't match theAngelos D. Keromytis
current printer;dwmalone@maths.tcd.ie
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-04-22buf mishandling; rotel@indigo.ieTheo de Raadt
1998-02-27be more paranoid.Theo de Raadt
By the way, the lp* tools are in need of a full test sometime in the next two weeks. I want to hear from someone who is running all of them that they work 100% fine. I do not own a printer, so I'm going to rely on someone out there to take care of this..
1998-02-15Use keepalives as the protocol never notices if a networked printerNiklas Hallqvist
dies.
1997-10-05be more paranoid; based on problem report by mhpower@MIT.EDUTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-09Use setlogin("") instead of setlogin(user) since target user is daemon.Todd C. Miller
1997-09-09Use setlogin(2).Todd C. Miller
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-27use sendmail -tTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-25restore traditional "all" keyword option - see lpc(8)grr
1997-07-24inet_aton() returns 0 on error, not -1.Todd C. Miller
1997-07-231 byte oflows; millertTheo de Raadt
1997-07-231 byte oflow; Don.Lewis@tsc.tdk.comTheo de Raadt
1997-07-21careful about unlink; oliverTheo de Raadt