Up to [cvs.netbsd.org] / src / usr.sbin / lpr / lpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.55 / (download) - annotate - [select for diffs], Mon Jul 13 19:05:42 2009 UTC (6 months, 4 weeks ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211,
HEAD
Changes since 1.54: +8 -8
lines
Diff to previous 1.54 (colored)
Rename internal getline() function to get_line() so it does conflict with the soon to be added getline(3) libc function.
Revision 1.53.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:30:06 2008 UTC (16 months, 3 weeks ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.53: +4 -4
lines
Diff to previous 1.53 (colored) next main 1.54 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Jul 21 13:36:58 2008 UTC (18 months, 2 weeks ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.53: +4 -4
lines
Diff to previous 1.53 (colored)
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:20 2008 UTC (20 months, 3 weeks ago) by yamt
Branch: yamt-pf42
Changes since 1.52: +7 -3
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
sync with head.
Revision 1.53 / (download) - annotate - [select for diffs], Wed May 7 17:44:44 2008 UTC (21 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.52: +7 -3
lines
Diff to previous 1.52 (colored)
patch from Dennis den Brok for foomatic
Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:35 2008 UTC (22 months, 2 weeks ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.51: +17 -5
lines
Diff to previous 1.51 (colored) next main 1.52 (colored)
sync with head.
Revision 1.50.10.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:50:07 2008 UTC (22 months, 2 weeks ago) by matt
Branch: matt-armv6
Changes since 1.50: +18 -6
lines
Diff to previous 1.50 (colored) next main 1.51 (colored)
sync with HEAD
Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 3 05:07:43 2008 UTC (23 months, 1 week ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Branch point for: yamt-pf42
Changes since 1.51: +17 -5
lines
Diff to previous 1.51 (colored)
Use mkstemp(3) (in a hokey manner) instead of mktemp(3). XXX: still not 100% "safe", except that we're in a protected directory. XXX: arguably we should keep the fds open and fdopen(3) dup()s, XXX: but we're in a protected directory so it shouldn't matter.
Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 16 07:33:25 2008 UTC (23 months, 3 weeks ago) by matt
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Branch point for: keiichi-mipv6
Changes since 1.50: +3 -3
lines
Diff to previous 1.50 (colored)
scnkey is const char [][HEIGHT], not char [][HEIGHT]
Revision 1.50 / (download) - annotate - [select for diffs], Thu May 11 00:22:53 2006 UTC (3 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.49: +5 -5
lines
Diff to previous 1.49 (colored)
end the argument list to exec*(3) with a NULL instead of a bare '0', as the latter isn't a pointer context in these varargs functions.
Revision 1.49 / (download) - annotate - [select for diffs], Fri Mar 17 17:06:30 2006 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.48: +4 -3
lines
Diff to previous 1.48 (colored)
Appease Coverity CID 2580 [not a bug]
Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 20 17:30:00 2006 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.47: +10 -26
lines
Diff to previous 1.47 (colored)
Instead of dealing with port@host in many places, do it where it is needed. It reduces code and complexity and at the same time allows as to use symbolic ports instead of just numeric everywhere.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Jan 19 19:17:59 2006 UTC (4 years ago) by garbled
Branch: MAIN
Changes since 1.46: +5 -3
lines
Diff to previous 1.46 (colored)
Fix PR bin/30272 Lpd would create the tempfile "remotexxxxx" and send that, but then fill out the control file with the "df" filename. Fix by sending the remote file with the "df" filename, as suggested by Robert Vargason on tech-userlevel. lpd -r now works properly with an if (input filter)
Revision 1.46 / (download) - annotate - [select for diffs], Tue Jan 17 19:12:17 2006 UTC (4 years ago) by garbled
Branch: MAIN
Changes since 1.45: +3 -2
lines
Diff to previous 1.45 (colored)
Update a comment regarding control file WRT "o"
Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 17 19:11:13 2006 UTC (4 years ago) by garbled
Branch: MAIN
Changes since 1.44: +20 -2
lines
Diff to previous 1.44 (colored)
Fix PR bin/14247 This PR claims that MacOSX 10.1 cannot print postscript files to a NetBSD lpd because the mac will tag the file with an "o" for postscript, which we do not handle. Rather than simply mapping o -> f as was done in the PR, or mapping o -> l as was done in FreeBSD, I have implemented full support for the "o" option. If a postscript filter does not exist in the printcap file however, it will default to "l" handling. With this change, you can now specify a "pf" or postscript filter in your printcap, and have it handle postscript files sent to it with "lpr -o". The "o" format in lpd is specified in RFC1179 as being a valid format flag.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 4 15:32:50 2006 UTC (4 years, 1 month ago) by garbled
Branch: MAIN
Changes since 1.43: +7 -3
lines
Diff to previous 1.43 (colored)
Address PR bin/12112 Lpd has the ability to start on a port other than "printer" but has no way to connect to a remote lpd on that port. This change adds the ability to specify port@host in the rm element of printcap(5). Tested to work with both a standard lpd setup and one running on special ports.
Revision 1.43 / (download) - annotate - [select for diffs], Mon Nov 28 03:26:06 2005 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.42: +33 -55
lines
Diff to previous 1.42 (colored)
- WARNS = 4 - factor out commonly used code. - constify - use warn/warnx instead of printf
Revision 1.42 / (download) - annotate - [select for diffs], Sun Nov 27 12:52:30 2005 UTC (4 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.41: +4 -4
lines
Diff to previous 1.41 (colored)
the mktemp() use here is not OK, adjust comment
Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 30 08:44:26 2004 UTC (5 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
Add (unsigned char) cast to ctype functions Some of this code could usefully be converted to use strtoul() and/or some small helper functions.
Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 26 13:05:14 2004 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.39: +10 -5
lines
Diff to previous 1.39 (colored)
Avoid printing a useless \0. From SHIMIZU Ryo in PR 26766.
Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 7 11:25:28 2003 UTC (6 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.38: +3 -7
lines
Diff to previous 1.38 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22366, verified by myself.
Revision 1.38 / (download) - annotate - [select for diffs], Sat May 17 20:46:44 2003 UTC (6 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.37: +18 -26
lines
Diff to previous 1.37 (colored)
use strlcpy/strlcat. [fix off-by-one in displayq.c]
Revision 1.22.4.3 / (download) - annotate - [select for diffs], Sun Dec 15 16:16:28 2002 UTC (7 years, 1 month ago) by he
Branch: netbsd-1-5
Changes since 1.22.4.2: +89 -34
lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)
Pull up revision 1.35-1.36 (via patch, requested by abs): When ``-r'' is given, actually pass the file through ``of'' and also enable ``if''.
Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Dec 7 23:15:55 2002 UTC (7 years, 2 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Changes since 1.31.2.1: +14 -7
lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)
Pull up revision 1.37 (requested by thorpej in ticket #947): Rather than relying on pure luck to get the log file on STDERR_FILENO, explicitly dup2 the log file descriptor to STDERR_FILENO and close the original.
Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Dec 7 21:48:39 2002 UTC (7 years, 2 months ago) by he
Branch: netbsd-1-6
Changes since 1.31: +89 -34
lines
Diff to previous 1.31 (colored)
Pull up revisions 1.35-1.36 (via patch, requested by abs in ticket #906): When ``-r'' is given, actually pass the file through ``of'', and also enable ``if''.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Oct 26 01:47:52 2002 UTC (7 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.36: +14 -7
lines
Diff to previous 1.36 (colored)
Rather than relying on pure luck to get the log file on STDERR_FILENO, explictly dup2 the log file dscriptor to STDERR_FILENO and close the original.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 4 13:49:20 2002 UTC (7 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.35: +4 -3
lines
Diff to previous 1.35 (colored)
Add back __attribute__() data for pstatus() removed by error in last commit. Noted by wiz.
Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 3 18:35:11 2002 UTC (7 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.34: +91 -36
lines
Diff to previous 1.34 (colored)
When -r is given actually pass the file through of, and also enable if.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 14 15:28:00 2002 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.33: +23 -40
lines
Diff to previous 1.33 (colored)
Unifdef __STDC__. Remove __P(). ANSIfy.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 9 01:12:35 2002 UTC (7 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.32: +5 -7
lines
Diff to previous 1.32 (colored)
This fixes various little problems in the lpd source.
lpd.c bogus 'c' option in getopt option string
printjob.c spelling "prstatic inter" -> "printer"
finish ANSIfication
recvjob.c finish ANSIfication
Patch contributed by Brian Ginsbach <ginsbach@cray.com> in PR 17520
Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 8 23:40:12 2002 UTC (7 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.31: +6 -4
lines
Diff to previous 1.31 (colored)
avoid hardcoded octals. openbsd
Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 21 14:42:30 2002 UTC (8 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
deamon -> daemon
Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 9 02:15:38 2001 UTC (8 years, 4 months ago) by mjl
Branch: MAIN
Changes since 1.29: +21 -35
lines
Diff to previous 1.29 (colored)
Replace 1 and 2 with STDOUT_FILENO and STDERR_FILENO. ANSIfy and constify.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 24 13:22:36 2001 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.28: +7 -7
lines
Diff to previous 1.28 (colored)
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:44 2001 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.27: +4 -4
lines
Diff to previous 1.27 (colored)
Spell 'occurred' with two 'r's.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 25 11:04:51 2001 UTC (8 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
use DEFLP instead of "lp".
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 5 03:27:27 2001 UTC (9 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
use %ll_ instead of the less standard %q_
Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Oct 19 17:01:09 2000 UTC (9 years, 3 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.19.2.1: +4 -3
lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Pull up revision 1.25 (via patch, requested by he): Format string cleanup.
Revision 1.22.4.2 / (download) - annotate - [select for diffs], Tue Oct 17 19:50:23 2000 UTC (9 years, 3 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.22.4.1: +4 -3
lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored)
Pullup usr.sbin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 11 20:23:52 2000 UTC (9 years, 4 months ago) by is
Branch: MAIN
Changes since 1.24: +4 -3
lines
Diff to previous 1.24 (colored)
More format string cleanups by sommerfeld.
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Oct 4 13:58:15 2000 UTC (9 years, 4 months ago) by he
Branch: netbsd-1-4
Changes since 1.19: +4 -4
lines
Diff to previous 1.19 (colored)
Pull up revisions 1.23-1.24 (requested by sommerfeld): Fix potential syslog() format string hole.
Revision 1.22.4.1 / (download) - annotate - [select for diffs], Thu Sep 28 01:37:35 2000 UTC (9 years, 4 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
pullup 1.23 -> 1.24 (approved by releng-1-5) > syslog() string format hole. > http://www.securityfocus.com/templates/archive.pike?start=2000-09-24&fromthread=0&mid=85023&list=1&end=2000-09-30&threads=0&
Revision 1.24 / (download) - annotate - [select for diffs], Tue Sep 26 17:44:38 2000 UTC (9 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.23: +3 -3
lines
Diff to previous 1.23 (colored)
syslog() string format hole. http://www.securityfocus.com/templates/archive.pike?start=2000-09-24&fromthread=0&mid=85023&list=1&end=2000-09-30&threads=0&
Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 24 02:03:54 2000 UTC (9 years, 5 months ago) by itohy
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
Don't pass null pointer to syslog.
lpd[6813]: mail sent to user itohy about job foo.ps on printer lp ((null))
^^^^^^
Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:51 1999 UTC (10 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.19: +78 -46
lines
Diff to previous 1.19 (colored) next main 1.20 (colored)
Pull up to last week's -current.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 11 02:01:18 1999 UTC (10 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.21: +13 -11
lines
Diff to previous 1.21 (colored)
- use symbolic names for mode bits - use _exit() where we should - fix spelling mistake - use vasprintf() in pstatus() all from freebsd.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 7 14:54:47 1999 UTC (10 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.20: +66 -36
lines
Diff to previous 1.20 (colored)
- add timeouts to displayq(), rmremote(), sendfile() and response(), and use these timeout in the lpq, lpd and lprm programs. these stop hung remote printers that accept tcp connections but do not process jobs from hanging the whole system and letting the sysadmin have a clue about what is going on with this rogue printer. - add a -r flag to lpd to allow `of' filters for remote jobs. i know there are ways around this, but i just don't care. - add a -f flag to lpf to add missing carriage returns. useful when printing UNIX files to an, eg, LaserWriter that wants CR's as well as LF's in raw text. stair-stepped text is no fun. - implement child process accounting: we just have a limit on the number of children we can have (settable by the sysadmin), and we sleep when this number is reached. this can reduce malicious not-so-malicious attacks on the print server by a rogue remote client.. - use setproctitle() where appropriate so the sysadmin has a clue about what each of the lpd's here are doing. this was useful to help diagnose a problem (that the above child process accounting change reduces the lossages of) where a rogue client was attempting "lpq" operations on one stuck queue in rapid succession, causing the lpd server to be extremely slow, due to the large number of lpd processes running. i have been running these changes in production for about a year.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 26 10:32:28 1999 UTC (10 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored)
delint and other cleanups.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 6 07:03:28 1998 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize,
netbsd-1-4
Changes since 1.18: +5 -3
lines
Diff to previous 1.18 (colored)
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 19 19:40:21 1997 UTC (12 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.17: +4 -4
lines
Diff to previous 1.17 (colored)
Use S_IS*(), not S_IF*.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 5 16:45:45 1997 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.16: +4 -3
lines
Diff to previous 1.16 (colored)
fix alpha compile warnings.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 5 15:12:14 1997 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.15: +95 -74
lines
Diff to previous 1.15 (colored)
- 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()
Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 5 11:52:33 1997 UTC (12 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.14: +178 -62
lines
Diff to previous 1.14 (colored)
merge 4.4 lite2
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Oct 5 11:20:36 1997 UTC (12 years, 4 months ago) by mrg
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +178 -62
lines
Diff to previous 1.1.1.2 (colored)
lite-2
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 17 05:51:18 1997 UTC (12 years, 6 months ago) by mikel
Branch: MAIN
Changes since 1.13: +7 -7
lines
Diff to previous 1.13 (colored)
use <sys/cdefs.h> __COPYRIGHT and __RCSID macros garbage-collect old set_ttyflags() and ctime() declarations
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 10 06:28:58 1997 UTC (12 years, 7 months ago) by mikel
Branch: MAIN
Changes since 1.12: +18 -12
lines
Diff to previous 1.12 (colored)
fix printf formats and implicit comparisons (gcc -Wall)
Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 22 03:20:38 1997 UTC (12 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.11: +3 -2
lines
Diff to previous 1.11 (colored)
use O_EXCL with O_CREAT when making the tempfile
Revision 1.9.4.4 / (download) - annotate - [select for diffs], Sun Jan 26 05:25:59 1997 UTC (13 years ago) by rat
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.9.4.3: +102 -102
lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Update from trunk. Fixes security bugs.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 9 09:57:46 1996 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.10: +102 -102
lines
Diff to previous 1.10 (colored)
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
Revision 1.9.4.3 / (download) - annotate - [select for diffs], Fri Jul 12 22:31:39 1996 UTC (13 years, 7 months ago) by jtc
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE
Changes since 1.9.4.2: +8 -2
lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)
pull up baud rate change anyway; turns out this is very useful to mac folks
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 30 23:55:49 1996 UTC (13 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.9: +8 -2
lines
Diff to previous 1.9 (colored)
Changed to not use a compiled in table of baud rates. Evidently there are some PC/Mac oriented devices that use non-standard speeds, furthermore that's just not the way we do things anymore. "Bad" baud rates are no longer caught with their own error message, but the condition will still be diagnosed when the tcsetattr() fails.
Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Jun 30 23:48:46 1996 UTC (13 years, 7 months ago) by jtc
Branch: netbsd-1-2
Changes since 1.9.4.1: +1 -7
lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)
Revert last checkin, it wasn't supposed to go to the release branch
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Sun Jun 30 23:45:37 1996 UTC (13 years, 7 months ago) by jtc
Branch: netbsd-1-2
Changes since 1.9: +8 -2
lines
Diff to previous 1.9 (colored)
Changed to not use a compiled in table of baud rates. Evidently there are some PC/Mac oriented devices that use non-standard speeds, furthermore that's just not the way we do things anymore. "Bad" baud rates are no longer caught with their own error message, but the condition will still be diagnosed when the tcsetattr() fails.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 30 00:07:00 1996 UTC (13 years, 9 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Use XS, not XC, flags when setting tty flags. From Brook Milligan <brook@trillium.nmsu.edu>.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 15 22:49:56 1995 UTC (14 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.7: +1 -0
lines
Diff to previous 1.7 (colored)
Add RCSIDs
Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 3 15:02:46 1995 UTC (14 years, 4 months ago) by hpeyerl
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.6: +63 -21
lines
Diff to previous 1.6 (colored)
-- 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>
Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 14 19:23:43 1995 UTC (14 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +12 -2
lines
Diff to previous 1.5 (colored)
Reset group list before execing child, as pointed out by Mike Pritchard.
Revision 1.5 / (download) - annotate - [select for diffs], Wed May 18 01:25:51 1994 UTC (15 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.4: +179 -94
lines
Diff to previous 1.4 (colored)
clean up that import. no rcsids yet.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed May 18 01:12:01 1994 UTC (15 years, 8 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +181 -95
lines
Diff to previous 1.1.1.1 (colored)
lpr from 4.4-Lite
Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 27 09:14:53 1994 UTC (15 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
off_t exp.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 7 05:38:21 1994 UTC (15 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
fix from John F. Woods <jfw@ksr.com>: don't clobber page width specified in printcap file.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 17:58:51 1993 UTC (16 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add RCS identifiers.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:59:27 1993 UTC (16 years, 10 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:59:26 1993 UTC (16 years, 10 months ago) by cgd
Branch: MAIN
Initial revision