History log of /src/usr.sbin/lpr/lpc |
Revision | Date | Author | Comments |
1.10 | 03-Feb-2010 |
roy | Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
|
1.9 | 12-Jan-2006 |
garbled | Add libedit command line history capability to lpc(8).
|
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.25 | 16-Dec-2016 |
mrg | scandir/alphasort take "const struct dirent **" not "const void *" in modern unix. since we claim to be 'IEEE Std 1003.1-2008', make it so.
|
1.24 | 31-Aug-2011 |
plunky | branches: 1.24.24; NULL does not need a cast
|
1.23 | 04-Jan-2011 |
wiz | Fix fd leak in error cases. Found by cppcheck.
|
1.22 | 13-Jul-2009 |
roy | Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
|
1.21 | 18-Jan-2009 |
lukem | fix -Wsign-compare issues
|
1.20 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.19 | 21-Mar-2006 |
christos | branches: 1.19.20; Coverity CID 1225: Don't close negative fd. While here fix fd leak.
|
1.18 | 28-Nov-2005 |
christos | - WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
1.17 | 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions Some of this code could usefully be converted to use strtoul() and/or some small helper functions.
|
1.16 | 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.15 | 17-May-2003 |
itojun | use strlcpy/strlcat. [fix off-by-one in displayq.c]
|
1.14 | 14-Jul-2002 |
wiz | Unifdef __STDC__. Remove __P(). ANSIfy.
|
1.13 | 16-Apr-2000 |
mrg | make scandir(3)'s 3rd argument take a function that takes a *const* struct dirent *, rather than non-const. this makes scandir(3) the same as the scandir implementations in libiberty and glibc, and the select function has no need to modify the dirent.
|
1.12 | 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.11 | 05-Oct-1997 |
mrg | merge 4.4 lite2
|
1.10 | 10-Jul-1997 |
mikel | oops
|
1.9 | 10-Jul-1997 |
mikel | clarify assignments used as conditionals (gcc -Wall)
|
1.8 | 09-Dec-1996 |
mrg | remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
|
1.7 | 14-Jan-1996 |
hpeyerl | branches: 1.7.4; More descriptive message for printer status. Addresses PR #509.
|
1.6 | 15-Nov-1995 |
pk | Add RCSIDs
|
1.5 | 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.4 | 18-May-1994 |
cgd | clean up that import. no rcsids yet.
|
1.3 | 08-Dec-1993 |
jtc | Upgraded to use <dirent.h>.
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.3 | 05-Oct-1997 |
mrg | lite-2
|
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.19.20.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.24.24.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.8 | 22-Oct-2006 |
christos | use c99 initializers
|
1.7 | 28-Nov-2005 |
christos | - WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
1.6 | 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.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 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.6 | 30-Aug-2011 |
joerg | static, __printflike, __dead
|
1.5 | 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.4 | 14-Jul-2002 |
wiz | Unifdef __STDC__. Remove __P(). ANSIfy.
|
1.3 | 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.2 | 15-Nov-1995 |
pk | Add RCSIDs
|
1.1 | 18-May-1994 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 | 18-May-1994 |
cgd | lpr from 4.4-Lite
|
1.18 | 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.17 | 06-Dec-2008 |
jnemeth | branches: 1.17.8; PR/40117 - Bug Hunting -- new line, new sentence; punctuation
|
1.16 | 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.15 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
1.14 | 19-Jan-2002 |
wiz | Sort SEE ALSO and sections.
|
1.13 | 09-Apr-2001 |
wiz | lowercase Lpq in xref, and some whitespace fixes.
|
1.12 | 24-Mar-1999 |
mycroft | Remove spurious .ne's.
|
1.11 | 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.10 | 10-Mar-1999 |
erh | Add missing .El line.
|
1.9 | 07-Mar-1999 |
mycroft | Clean up SYNOPSIS formatting.
|
1.8 | 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.7 | 05-Oct-1997 |
mrg | merge 4.4 lite2
|
1.6 | 09-Jul-1997 |
jtc | Changed /var/spool/* to /var/spool/output/*, to be consistant with reality.
|
1.5 | 15-Nov-1995 |
pk | Add RCSIDs
|
1.4 | 18-May-1994 |
cgd | clean up that import. no rcsids yet.
|
1.3 | 14-Jan-1994 |
jtc | Fix spelling errors
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.3 | 05-Oct-1997 |
mrg | lite-2
|
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.17.8.1 | 17-Apr-2012 |
yamt | sync with head
|
1.27 | 04-May-2017 |
sevan | Drop main() prototype.
|
1.26 | 30-Aug-2011 |
joerg | branches: 1.26.32; static, __printflike, __dead
|
1.25 | 18-Jan-2009 |
lukem | fix -Wsign-compare issues
|
1.24 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.23 | 03-Oct-2007 |
christos | branches: 1.23.8; remove null test; it is not necessary as we always look at the next element. from Anon Ymous
|
1.22 | 03-Oct-2007 |
christos | - int -> size_t - off by one in \n printing [Anon Ymous] - return when the end of the array is reached.
|
1.21 | 25-May-2006 |
christos | branches: 1.21.10; Coverity CID 830: Avoid NULL deref.
|
1.20 | 15-Jan-2006 |
is | Fix obvious error, hopefully correctly.
|
1.19 | 12-Jan-2006 |
garbled | sizeof(char) is unneccesary.
|
1.18 | 12-Jan-2006 |
garbled | Add libedit command line history capability to lpc(8).
|
1.17 | 28-Nov-2005 |
christos | - WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
1.16 | 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions Some of this code could usefully be converted to use strtoul() and/or some small helper functions.
|
1.15 | 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.14 | 20-Jul-2002 |
grant | sweep of errx/warnx, remove unnecessary trailing \n
|
1.13 | 14-Jul-2002 |
wiz | Unifdef __STDC__. Remove __P(). ANSIfy.
|
1.12 | 19-May-2002 |
wiz | Make ngroups, which is the size of a static array, static too. From Todd Miller in bin/16871.
|
1.11 | 14-Nov-2001 |
enami | Test absense of command differently to avoid null pointer deference when only whitespaces are given.
|
1.10 | 24-Aug-2000 |
sommerfeld | Fix ingroup() to not check gid against trailing groups not set by getgroups().
Reported to security-officer, but not a security hole, since "operator" is not gid 0.
|
1.9 | 05-Oct-1997 |
mrg | fix alpha compile warnings.
|
1.8 | 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.7 | 05-Oct-1997 |
mrg | merge 4.4 lite2
|
1.6 | 10-Jul-1997 |
mikel | clarify conditional in for-loop (gcc -Wall)
|
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.3 | 05-Oct-1997 |
mrg | lite-2
|
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.21.10.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.23.8.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.26.32.1 | 11-May-2017 |
pgoyette | Sync with HEAD
|
1.6 | 28-Nov-2005 |
christos | - WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
|
1.5 | 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.4 | 14-Jul-2002 |
wiz | Unifdef __STDC__. Remove __P(). ANSIfy.
|
1.3 | 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.2 | 15-Nov-1995 |
pk | Add RCSIDs
|
1.1 | 18-May-1994 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 | 18-May-1994 |
cgd | lpr from 4.4-Lite
|