summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source
AgeCommit message (Expand)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-03-03spacesKevin Steves
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-01remove #ifndef SUN_LEN; ok millert@Kevin Steves
2007-05-01use warn() vs. perror() for consistency; ok millert@Kevin Steves
2007-04-08I have an HP LaserJet (P2015dn) whose LPR implementation may not endKevin Steves
2007-04-07trailing "\n" not needed in fatal(); ok millert@Kevin Steves
2007-03-16remove unused variable; ok millert@Kevin Steves
2007-03-13typos in comments; ok millert@Kevin Steves
2006-04-08Plug memory leak when nitems == 0.Ray Lai
2004-11-17NI_WITHSCOPEID is no more.Jun-ichiro itojun Hagino
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
2003-09-26realloc fixes; ok deraadt millertPeter Valchev
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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-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