summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpd
AgeCommit message (Collapse)Author
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-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-22use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-02-15MAXLOGNAME; ianm@cit.uws.edu.auTheo de Raadt
2001-02-07spellingTodd T. Fries
2000-06-28syslog should use %sTheo de Raadt
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
1999-10-17Use the AT&T UNIX macros.Aaron Campbell
1999-06-05remove trailing whitespace, some Nm cleanupAaron 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
1997-10-05be more paranoid; based on problem report by mhpower@MIT.EDUTheo 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-231 byte oflow; Don.Lewis@tsc.tdk.comTheo de Raadt
1997-07-21careful about unlink; oliverTheo de Raadt
1997-07-20careful with usernames; oliverTheo de Raadt
1997-07-20careful with link paths; oliverTheo de Raadt
1997-07-19Wall cleanup; people running lpd should test!Theo de Raadt
1997-07-17proto ksearch/msearchTheo de Raadt
1997-07-17fix XrTheo de Raadt
1997-07-17Change a strcpy() -> strncpy() because I'm paranoid.Todd C. Miller
1997-07-16crank dfname/tfname; freebsdTheo de Raadt
1997-06-02lpd has no support for specifying port option; sounds silly anyways; ↵Theo de Raadt
tinguely@plains.NoDak.edu
1997-04-04when mktemp() is hard to fix, use 10 XTheo de Raadt
1997-01-17Add OpenBSD tags (was in wrong dir for previous commit)Todd C. Miller
1996-12-20initialize name; is this the right hack?Theo de Raadt
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-05inverted logicTheo de Raadt
1996-11-03Improve portability by using ANSI/POSIX interfaces when possible.Todd C. Miller
1996-10-26we are so ftp bounce paranoid, we checked twice!Theo de Raadt
1996-10-25proactive bounds checking; help from millertTheo de Raadt
1996-09-30avoid NOFILE; from bde@freebsdTheo de Raadt
1996-09-21dohTheo de Raadt
1996-09-21i so rarely forget htons & friends; this time i did -- warner caught meTheo de Raadt
1996-09-21overflow protectionTheo de Raadt
1996-09-21oflow protection, ftp bounce protection, dns spoof protectionTheo de Raadt
1996-09-21support 57600, until we get better supportTheo de Raadt
1996-08-18Wait for an output filter to conmplete before starting the next print job;Thorsten Lockert
from FreeBSD PR 739
1996-08-07ftp bounce protectionTheo de Raadt
1996-07-27versatile baud rates; from netbsdTheo de Raadt
1996-07-04Fix bogon in importThorsten Lockert
1996-07-04Integrated 4.4Lite2 sourceThorsten Lockert
Fixed potential problem pointed out by bitblt
1996-06-28closelog() before we trash syslog descriptorTheo de Raadt