| History log of /src/usr.sbin/lpr/pac |
| Revision | Date | Author | Comments |
| 1.9 | 18-Sep-2025 |
mrg | introduce a couple of new turn-off-gcc-warning variables and use them.
GCC 14 has a new annoying calloc() checker that we turn off in a bunch of places, and there are a few more dangling-pointer issuse that come up, but seem bogus.
|
| 1.8 | 10-Oct-1997 |
lukem | only compile common_source/* once (25% faster), remove unused printcap.c
|
| 1.7 | 08-May-1997 |
gwr | Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead.
|
| 1.6 | 06-May-1997 |
gwr | Use .PATH.c: ...
|
| 1.5 | 15-Nov-1995 |
pk | Add RCSIDs
|
| 1.4 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.3 | 18-May-1994 |
cgd | clean up that import. no rcsids yet.
|
| 1.2 | 30-Jul-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 18-May-1994 |
cgd | lpr from 4.4-Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12 | 08-Apr-2012 |
wiz | Remove unnecessary Bk/Ek pairs from SYNOPSIS. No effective change except where I used the opportunity to sort options and/or option descriptions.
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.54; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
| 1.10 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.9 | 19-Jan-2002 |
wiz | empty line -> .Pp; sort sections.
|
| 1.8 | 04-Oct-2000 |
jdolecek | document output format, so that users would know exact meaning of printed statistics
|
| 1.7 | 22-Mar-1999 |
garbled | More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.6 | 07-Mar-1999 |
mycroft | Clean up SYNOPSIS formatting.
|
| 1.5 | 05-Oct-1997 |
mrg | - WARNS?=1 - be safe with unlinking files (from freebsd) - remove register - clean up $NetBSD$'s. - use inet_ntoa() in one place (from openbsd) - nul terminate after a bunch of strncpy()'s - #ifdef __STDC__ rather than #if (from freebsd) - be safe with a bunch of string operations (from freebsd) - use warn()/err() over home grown versions (some from freebsd) - rename warn() to nodaemon() to remove conflict with above - check errno from failed kill(2) against ESRCH (from freebsd) - use getopt() rather than home grown versions (from freebsd) - clean up a bunch of man pages (some from freebsd) - check for hostname spoof (from freebsd) - use POSIX wait() interfaces - use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd) - deal with fork() failure - index/rindex -> strchr/strrchr (some from freebsd) - add B57600 and B115200 speeds (from freebsd) - some KNF - be safe with files passed in over the network (some from freebsd) - check return value of malloc(), calloc() and strdup()
|
| 1.4 | 15-Nov-1995 |
pk | Add RCSIDs
|
| 1.3 | 18-May-1994 |
cgd | clean up that import. no rcsids yet.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 18-May-1994 |
cgd | lpr from 4.4-Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.54.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.24 | 17-Jan-2016 |
christos | PR/50666: David Binderman: He's out of jail and out of bail and that's the way it goes: free(base);
|
| 1.23 | 30-Aug-2011 |
joerg | static, __printflike, __dead
|
| 1.22 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.21 | 24-Nov-2006 |
christos | branches: 1.21.18; fix spelling of accommodate; from Zapher.
|
| 1.20 | 28-Nov-2005 |
christos | - WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
| 1.19 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
| 1.18 | 13-Jul-2003 |
itojun | use bounded string op
|
| 1.17 | 17-May-2003 |
itojun | sscanf possible overrun
|
| 1.16 | 14-Jul-2002 |
wiz | Unifdef __STDC__. Remove __P(). ANSIfy.
|
| 1.15 | 16-Jul-2000 |
jdolecek | account(): fix so that number of copies is optional and whitespace between it and hostname:username is optional as well (some software relies in this); while here, covert to use sscanf() instead of explicit parse code, sprinkle some comments
dumpit(): change so that the price is total price for this entry, instead of beeing price per copy
Addresses bin/9996 by Brian Stark, though the implementation differs from patch code attached to it.
|
| 1.14 | 27-Apr-2000 |
msaitoh | branches: 1.14.4; remove unused variable
|
| 1.13 | 27-Apr-2000 |
jdolecek | Finish transition to using getopt(3). Fixes bin/9963 by Brian Stark.
|
| 1.12 | 05-Dec-1999 |
jdolecek | main(): g/c variable errs accidentaly introduced in last commit, rename 'i' to 'opt'
|
| 1.11 | 05-Dec-1999 |
jdolecek | Change the formatting of output so that entries with host:user longer than 24 characters would be displayed correctly. Fixes bin/8880 by Brian Stark <bstark@uswest.net>.
While here, convert code to use getopt(3) and do some const poisoning. Also g/c variables uid and euid, they are no longer needed after the split of ../common_source/common.c
|
| 1.10 | 05-Oct-1997 |
mrg | branches: 1.10.8; - WARNS?=1 - be safe with unlinking files (from freebsd) - remove register - clean up $NetBSD$'s. - use inet_ntoa() in one place (from openbsd) - nul terminate after a bunch of strncpy()'s - #ifdef __STDC__ rather than #if (from freebsd) - be safe with a bunch of string operations (from freebsd) - use warn()/err() over home grown versions (some from freebsd) - rename warn() to nodaemon() to remove conflict with above - check errno from failed kill(2) against ESRCH (from freebsd) - use getopt() rather than home grown versions (from freebsd) - clean up a bunch of man pages (some from freebsd) - check for hostname spoof (from freebsd) - use POSIX wait() interfaces - use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd) - deal with fork() failure - index/rindex -> strchr/strrchr (some from freebsd) - add B57600 and B115200 speeds (from freebsd) - some KNF - be safe with files passed in over the network (some from freebsd) - check return value of malloc(), calloc() and strdup()
|
| 1.9 | 11-Jul-1997 |
mikel | include <unistd.h> for get{,e}uid() prototypes
|
| 1.8 | 09-Dec-1996 |
mrg | remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
|
| 1.7 | 21-Mar-1996 |
jtc | branches: 1.7.4; Be pedantic, main() returns int in C.
|
| 1.6 | 13-Jan-1996 |
pk | Fix typo (Noriyuki Soda; PR#1926).
|
| 1.5 | 15-Nov-1995 |
pk | Add RCSIDs
|
| 1.4 | 03-Oct-1995 |
hpeyerl | -- convert sgtty to termios. From: Scott Bartram <scottb@iis.net> -- Use seteuid() to only give lpr, lprm, lpq and lpc root when they need it from matthew green <mrg@mame.mu.oz.au>
|
| 1.3 | 18-May-1994 |
cgd | clean up that import. no rcsids yet.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 18-May-1994 |
cgd | lpr from 4.4-Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.4.1 | 26-Jan-1997 |
rat | Update from trunk. Fixes security bugs.
|
| 1.10.8.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.14.4.1 | 19-Oct-2000 |
tv | Pullup 1.15 by patch [jdolecek]: account(): fix so that number of copies is optional and whitespace between it and hostname:username is optional as well (some software relies in this); while here, covert to use sscanf() instead of explicit parse code, sprinkle some comments
Portion of 1.15 dealing with changing the printing of totals is not pulled up.
|
| 1.21.18.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|