#
07602870 |
| 03-Jun-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Stop using the depreciated 'union wait' definitions, moving to a more standard handling of wait()-related routines.
Submitted by: mike MFC after: 2 weeks
|
#
16d8455d |
| 28-May-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Assume __STDC__, remove non-__STDC__ code.
|
Revision tags: vendor/gcc/3.1-20020509, vendor/openpam/CINQUEFOIL, vendor/ncurses/5.2-20020518, vendor/bind/8.3.2.t1b, vendor/openpam/CINNAMON, vendor/OpenBSD/cvs_20020426, vendor/ipfilter/3.4.27, vendor/ipfilter-sys/3-4-27, vendor/NetBSD/lukemftp/1.5.FIXES, vendor/tnftp/1.5.FIXES, vendor/ipfilter/3.4.26, vendor/ipfilter-sys/3-4-26 |
|
#
98f6cc54 |
| 23-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Implement new printcap option of "rc" aka "remote.resend_copies". This is a boolean option, and if it is specified in a print queue for a remote host, it causes lpd to resend the data file for each c
Implement new printcap option of "rc" aka "remote.resend_copies". This is a boolean option, and if it is specified in a print queue for a remote host, it causes lpd to resend the data file for each copy the user requested on 'lpr -#n'. This is useful for network printers which accept lpd-style jobs, but which ignore the control file (and thus they ignore any request for multiple copies).
PR: 25635 Reviewed by: short review on freebsd-audit MFC after: 6 days
show more ...
|
Revision tags: vendor/smbfs/1.4.4, vendor/sendmail/8.12.3-20020420, vendor/sendmail/8.12.3 |
|
#
fc747730 |
| 19-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Remove a safety-setting line which is unnecessary now that the previous line is using strlcpy instead of strncpy.
MFC after: 4 days
|
#
150508c6 |
| 19-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Add a little detail to the syslog-msg that comes up when lpd can not execute a given filter.
MFC after: 4 days
|
Revision tags: vendor/OpenBSD/cvs_20020419, vendor/pam_modules/0.5, vendor/openpam/CINERARIA, vendor/binutils/2.12.20020410, vendor/openpam/CINCHONA |
|
#
50cf7393 |
| 07-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
A variable had been unnecessarily assigned a bogus value because gcc was "confused" about it being unassigned. In fact, gcc was right. Fix the real problem by setting that variable before break-ing
A variable had been unnecessarily assigned a bogus value because gcc was "confused" about it being unassigned. In fact, gcc was right. Fix the real problem by setting that variable before break-ing out of a select statement so gcc is happy, and then remove the unnecessary assignment.
Reported by: a user wondering why lpd syslog-ed about "compiler confusion" MFC after: 12 days
show more ...
|
#
6710feea |
| 07-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Rename a variable from 'user' to 'userid' to avoid some compiler warnings.
MFC after: 12 days
|
#
57d49eaa |
| 07-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Rearrange all the error returns from sendfile() to make sure the original input file and any temporary (filter) file are closed upon return, and that is generally done at the end of the routine. Thi
Rearrange all the error returns from sendfile() to make sure the original input file and any temporary (filter) file are closed upon return, and that is generally done at the end of the routine. This should make it easier for a later update (not yet written) to implement a "resend_copies" option.
MFC after: 12 days
show more ...
|
#
197ccef0 |
| 07-Apr-2002 |
Garance A Drosehn <gad@FreeBSD.org> |
Re-arrange how output filters (of=) are handled for queues going to remote machines. Now they really are handled *exactly* the same as input filters (if=) for remote queues, except that they are sta
Re-arrange how output filters (of=) are handled for queues going to remote machines. Now they really are handled *exactly* the same as input filters (if=) for remote queues, except that they are started with a different set of parameters. This should fix a few subtle bugs in output-filter processing on such queues. It is a pretty significant re-arranging of sendfile(), moving some of it to a new execfilter() routine.
PR: 36552 Reviewed by: no screams from freebsd-audit MFC after: 12 days
show more ...
|
Revision tags: vendor/NetBSD/sort/20020406, vendor/tzdata/tzdata2002c, vendor/pam_modules/0.4, vendor/isc-dhcp/3.0.1rc8, vendor/misc-GNU/texinfo/4.1, vendor/NetBSD/v_2002_03_22, vendor/opie/2.4, vendor/OpenBSD/moduli5_1_3, vendor/OpenBSD/moduli_1_1, vendor/binutils/2.12.20020320, vendor/ipfilter/3.4.25, vendor/ipfilter-sys/3-4-25, vendor/openssh/3.1, vendor/perl5/5.006.01, vendor/one-true-awk/20020210, vendor/acpica/20020308, vendor/openpam/CENTAURY, vendor/NetBSD/lukemftpd/1.2-beta1, vendor/zlib/1.1.4, vendor/openpam/CELANDINE, vendor/NetBSD/xlint/2002-03-03, vendor/acpica/20020217, vendor/openpam/CANTALOUPE, vendor/openpam/CALIOPSIS, vendor/openpam/CALAMITE, vendor/binutils/2.12.20020221, vendor/heimdal/cvs-20020217, vendor/isc-dhcp/3.0.1rc6, vendor/one-true-awk/20020101, vendor/sendmail/8.12.2, release/4.5.0_cvs, release/4.4.0_cvs, vendor/bind/8.3.1, vendor/gcc/cvs-20020201-0820, vendor/bzip2/1.0.2, vendor/binutils/anoncvs_20020127, vendor/openssl/0.9.6c, vendor/top/3.5beta12, vendor/heimdal/0.3f-patch, vendor/ncurses/5.2-20020112a, vendor/less/v371, vendor/smbfs/1.4.3, vendor/smbfs/1.4.2, vendor/gcc/3.0.2, vendor/smbfs/1.4.1, vendor/acpica/20011120 |
|
#
21ecfd4a |
| 27-Nov-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Change the recently-added 'o'-processing so it maps to 'l' instead of 'f'. 'l' ("plain text which includes control characters") is somewhat more appropriate for 'o' ("postscript files"), and in fact
Change the recently-added 'o'-processing so it maps to 'l' instead of 'f'. 'l' ("plain text which includes control characters") is somewhat more appropriate for 'o' ("postscript files"), and in fact some printers treat 'l' as a request to print a postscript file.
MFC after: 1 week
show more ...
|
Revision tags: vendor/lomac/2.2.0, vendor/lomac/2.0.0, vendor/tzdata/tzdata2001d, vendor/misc-GNU/awk/3.1.0-fixed, vendor/misc-GNU/awk/3.1.0, vendor/binutils/2.11.20011031, vendor/acpica/20011018, vendor/one-true-awk/20001115, vendor/binutils/2.11.20010719, vendor/file/3.37, vendor/acpica/20010920 |
|
#
626fb2a6 |
| 20-Sep-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Add minimal support for "o"-type print-file actions in lpd control files. This was described in the original RFC wrt lpr, but most lpr's do not actually implement it. There is some indication that M
Add minimal support for "o"-type print-file actions in lpd control files. This was described in the original RFC wrt lpr, but most lpr's do not actually implement it. There is some indication that MacOS 10.1 will be using this when sending postscript files to print servers (that is what "o"-type was supposed to signify -- postscript files).
MFC after: 1 week
show more ...
|
Revision tags: vendor/acpica/20010831, vendor/tcsh/6.11, vendor/amd/6.0.7, vendor/ntp/4.1.0, vendor/acpica/20010816, vendor/bind/8.2.5.string-patch, vendor/sendmail/8.11.6, vendor/misc-GNU/cvs/1.11.1p1, vendor/bind/8.2.4.hmac-md5-patch, vendor/sendmail/8.11.5, vendor/bind/8.2.4, vendor/file/3.36, vendor/ipfilter/3.4.20, vendor/ipfilter-sys/3-4-20, vendor/tcp_wrappers/7.6-2001-06-01, vendor/tcpdump/3.6.3 |
|
#
ad5fdfbd |
| 23-Jul-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Basically rewrite the dofork() routine, to add more error-checking and correct the error-checking that was there. With the old code, an error return from getpwuid(daemon_user) could turn the lpd pro
Basically rewrite the dofork() routine, to add more error-checking and correct the error-checking that was there. With the old code, an error return from getpwuid(daemon_user) could turn the lpd process into a very effective fork-bomb...
Reviewed by: freebsd-audit freebsd-print (a little...) MFC after: 6 days
show more ...
|
#
5d7321f6 |
| 22-Jul-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Replace calls to strncpy with calls to strlcpy, and remove the extra step needed to ensure that the result is null-terminated when using strncpy().
MFC after: 8 days
|
Revision tags: vendor/acpica/20010717, vendor/openssl/0.9.6b, vendor/NetBSD/lukemftp/1.5, vendor/tnftp/1.5, vendor/NetBSD/lukemftpd/1.1 |
|
#
6d39e1b7 |
| 15-Jul-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Fix most of the warnings generated by compiling lpr with -Wnon-const-format, often by just telling gcc that some internal routine is "__printflike" (work done by Kris Kennaway <kris@FreeBSD.org>). A
Fix most of the warnings generated by compiling lpr with -Wnon-const-format, often by just telling gcc that some internal routine is "__printflike" (work done by Kris Kennaway <kris@FreeBSD.org>). Also fix the new warnings which show up once gcc starts checking the "printf-like parameters" passed to those routines.
MFC after: 1 week
show more ...
|
#
bfb9fa63 |
| 14-Jul-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Change signal-handling to reset SIGCHLD to SIGDFLT instead of SIG_IGN. This fixes a problem with using print filters (if=, of=, etc) that showed up in -current around June 20th. That problem initial
Change signal-handling to reset SIGCHLD to SIGDFLT instead of SIG_IGN. This fixes a problem with using print filters (if=, of=, etc) that showed up in -current around June 20th. That problem initially reported by Georg-W Koltermann <gwk@sgi.com>, while most of the investigation that led to this fix was done by Anton Berezin <tobez@FreeBSD.org>.
Reviewed by: freebsd-print@bostonradio.org MFC after: 1 week
show more ...
|
Revision tags: vendor/groff/1.17.2 |
|
#
7bc6d015 |
| 09-Jul-2001 |
Brian Somers <brian@FreeBSD.org> |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
Revision tags: vendor/acpica/20010615, vendor/binutils/2.11.2, vendor/NetBSD/head_20010615, vendor/bzip2/1.0.1, vendor/heimdal/0.3f |
|
#
cc3fd56f |
| 15-Jun-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Rename a few global variables which hold hostname-related values to be more sensible/understandable. 'from'->'from_host' 'host'->'local_host' 'fromb'->'frombuf' 'fromhost'->'origin_host' and a lo
Rename a few global variables which hold hostname-related values to be more sensible/understandable. 'from'->'from_host' 'host'->'local_host' 'fromb'->'frombuf' 'fromhost'->'origin_host' and a local-variable named 'host'->'hostbuf'. This fixes some compile-time warnings about local variables shadowing global variables.
Other than renaming variables, the only actual code changes are to call strlcpy() instead of strncpy() when setting those (renamed) variables, and that 'from_ip' is now a strdup()-created buffer instead of being a static buffer compiled in as 1025 bytes.
Reviewed by: freebsd-print@bostonradio.org (an earlier version) MFC after: 1 week
show more ...
|
#
ba7a1ad7 |
| 12-Jun-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Fix about 90-100 warnings one gets when trying to compile lpr&friends with BDECFLAGS on, mainly by adding 'const' to parameters in a number of routine declarations. While I'm at it, ANSI-fy all of t
Fix about 90-100 warnings one gets when trying to compile lpr&friends with BDECFLAGS on, mainly by adding 'const' to parameters in a number of routine declarations. While I'm at it, ANSI-fy all of the routine declarations. The resulting object code is exactly the same after this update as before it, with the exception of one unavoidable change to lpd.o on freebsd/alpha.
Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c
Reviewed by: /sbin/md5, and no feedback from freebsd-audit
show more ...
|
Revision tags: vendor/acpica/20010518, vendor/sendmail/8.11.4, vendor/binutils/2.11.0, vendor/openssl/0.9.6a, vendor/ncurses/5.2-20010512, vendor/openssh/2.9, vendor/libpam/0.75, vendor/file/3.35, release/4.3.0_cvs, release/4.3.0, vendor/groff/1.17, vendor/libreadline/4.2, vendor/tzdata/tzdata2001b, vendor/tcpdump/3.6.2, vendor/libpcap/0.6.2, vendor/ee/1.4.1, vendor/file/3.34, vendor/gcc/2.95.3-with_sjlj_fix, vendor/gcc/2.95.3 |
|
#
28b05102 |
| 12-Mar-2001 |
Garance A Drosehn <gad@FreeBSD.org> |
Improve a few error messages wrt if= filters on remote print queues.
|
Revision tags: vendor/opie/2.32.2001.03.04, vendor/tcsh/6.10-2001-01-28, vendor/sendmail/8.11.3, vendor/misc-GNU/bc/1.0.6, vendor/openssl/0.9.6-2001-02-10, vendor/bind/8.2.3, vendor/heimdal/0.3e, vendor/ipfilter/3.4.16, vendor/ipfilter-sys/v3-4-16, vendor/acpica/20010125, vendor/sendmail/8.11.2, vendor/kerberosIV/1.0.5, vendor/acpica/20001215, vendor/gcc/cvs-20000711-1732, vendor/kerberosIV/1.0-tfutil, vendor/kerberosIV/1.0-kdc_reply, vendor/kerberosIV/1.0-extra, vendor/acpica/20001201, vendor/groff/1.16.1, vendor/openssh/2.3.0, vendor/acpica/20001115, vendor/tcsh/6.10, vendor/file/3.33, vendor/binutils/2.10.1, vendor/binutils/2.10.0, release/4.2.0 |
|
#
59a09735 |
| 15-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
Make sure a few strings will have terminating null characters. (most of the PR 16186 was already applied, except for these 2 lines)
PR: 16186 Submitted by: Przemyslaw Frasunek <venglin@lubi.FreeBSD
Make sure a few strings will have terminating null characters. (most of the PR 16186 was already applied, except for these 2 lines)
PR: 16186 Submitted by: Przemyslaw Frasunek <venglin@lubi.FreeBSD.lublin.pl>
show more ...
|
#
aa538512 |
| 14-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
Fix (style) some variable initializations.
|
#
a480d5f2 |
| 14-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
Change 'count' to a more descriptive 'jobcount', and fix the stupid comments which claim this counter is counting "files", which it is not.
|
#
a4803ea1 |
| 14-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
Get rid of 'exit(-1)' calls. Exit codes are limited to 8 bits under most Unixes, so -1 becomes 0xFF for 2's complement and 0xFE (?) for 1's complement.
Reviewed by: bde@FreeBSD.org
|
Revision tags: vendor/openssh/20001110 |
|
#
c61c5210 |
| 13-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
My previous commit removed a line it wasn't supposed to. Add it back.
|
#
ca52ea3c |
| 13-Nov-2000 |
Garance A Drosehn <gad@FreeBSD.org> |
Replace call to mktemp() with mkstemp. Also move where that call is done, so the correct directory is being checked. The mkstemp() call is meant to create a temp file for stderrs when running filte
Replace call to mktemp() with mkstemp. Also move where that call is done, so the correct directory is being checked. The mkstemp() call is meant to create a temp file for stderrs when running filters. This update also fixes log-file processing for remote (rm=) queues which specify an input filter (if=). Before, filter-errs were thrown away. Now they'll be copied to the queue's logfile (lf=).
Reviewed by: (a little) audit@FreeBSD.ORG & freebsd-print@bostonradio.org
show more ...
|