summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source
AgeCommit message (Expand)Author
2003-02-13Fix loop invariants in rmremote(). Reported by Arne Woerner in PRTodd C. Miller
2002-07-27merge if() and foo = snprintf checks better; millert okTheo de Raadt
2002-06-13Fixed some lpd bugs while on the plane from Calgary:Todd 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-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-28Remove useless sigaddset()Todd C. Miller
2002-05-20Pull in useful bits from NetBSD and make our lp* easier to diff andTodd C. Miller
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
2001-12-06use err/warn and friends instead of printf/exit.Eric Jackson
2001-11-23use the same siginterrupt() trick in lpc(1) as in timedc(1). we have to hackTheo de Raadt
2001-11-01displayq to honor the terminal width; millert@ okMichael Shalayeff
2001-08-30o kill registerTodd C. Miller
2001-08-30Better buffer lengths (MAXFOO and FOO_MAX) based on a patch fromTodd C. Miller
2001-08-30Use NAME_MAX, not MAXPATHLEN for buffer sizes since they are notTodd C. Miller
2001-08-29Fix buffer oflow reading from queue file. While we are at it, crankTodd C. Miller
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
1998-06-28Treat a printer as remote iff RM is not us or RP is set and it doesn't match theAngelos D. Keromytis
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
1998-02-15Use keepalives as the protocol never notices if a networked printerNiklas Hallqvist
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-24inet_aton() returns 0 on error, not -1.Todd C. Miller
1997-07-231 byte oflows; millertTheo de Raadt
1997-07-19Wall cleanup; people running lpd should test!Theo de Raadt
1997-07-18Be extra careful when unlinking data file to only remove a file isTodd C. Miller
1997-07-17WallTheo de Raadt
1997-06-23It is not a reasonable default behavior to abort a printout because of itskstailey
1997-01-17Add OpenBSD tagsTodd C. Miller
1997-01-17Possible buf oflow.Todd C. Miller
1996-11-05lpr suite uses getcap(3) so this is never used!Todd C. Miller
1996-11-04Remove dead code as pointed out by bitblt. Also nuke the gross #defines,Todd C. Miller
1996-10-25proactive bounds checking; help from millertTheo de Raadt
1996-07-04Integrated 4.4Lite2 sourceThorsten Lockert
1995-11-22from netbsd; {} maniaTheo de Raadt
1995-11-13lprm failed to delete all files; from thomas@cevis.uni-Bremen.de; netbsd pr#1756Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt