| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
about it.
PR: 7886
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> (partially)
|
| |
|
|
|
|
|
| |
warnings from unused static inline functions in headers if you happen
to set CFLAGS without -O.
|
|
|
|
|
|
| |
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
| |
a cast in case off_t is not a long long (as on alpha).
|
|
|
|
| |
for unused static inline functions in header files.
|
|
|
|
| |
the number of ``-h'' given.
|
| |
|
|
|
|
|
| |
prefers it. This source is compiled with -Werror so the slightest
warning is enough to ruin my day.
|
|
|
|
|
|
|
|
|
|
| |
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.
Don't override defaults when the defaults are correct.
|
|
|
|
| |
Submitted by: jhay
|
| |
|
| |
|
| |
|
|
|
|
| |
Use 66 lines on the page
|
|
|
|
| |
is different with KOI8-R
|
|
|
|
| |
PR: bin/5519
|
| |
|
|
|
|
|
|
| |
GCC suppresses the warning for ``standard'' header files, but since the
headers do not come from the ``standard'' place in a ``make world'', GCC
doesn't get it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Get rid of a lot of the static variables which were shared by
many routines and programs in the suite.
- Create an abstract interface to the printcap database, so that
other retrieval and iteration mechanisms could be developed
(e.g., YP, Hesiod, or automatic retrieval from a trusted server).
- Give each capability a human-readable name in addition to the historic
two-character one.
- Otherwise generally clean up a lot of dark corners. Many still remain.
- When submitting jobs, use the official login name record (from getlogin())
if there is one, rather than reverse-mapping the uid.
More to come...
|
|
|
|
|
| |
When setting an alarm that didn't trigger, i gotta clear it again
before going on. Hmpf!
|
|
|
|
|
|
|
|
|
|
|
|
| |
Properlay clean the global RM variable if cgetstr() failed for it.
Otherwise, a connection attempt to a remote machine was made (and a
bogus result code printed) if a local printer followed a remote one in
printcap, and you did a `lpq -a', since checkremote() falsely assumed
the printer to be a remote one.
While i was at it, removed a gratuituous newline printed in front of
the remote machine's name, thus making the output more consistent (and
better machine-parseable) now.
|
|
|
|
|
|
|
|
| |
connection timeout controllable by a new printcap(5) capability named
`ct' (connectiom timeout), defaulting to 120 seconds (which is the
default TCP connection timeout).
Would anybody see a problem with merging all this into RELENG_2_2?
|
|
|
|
|
|
|
| |
Theo de Raadt.
Likely 2.2.5R candidate.
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
with libc's version.
lpd: use getopt(3), err(3), add usage(), allow specification of a port #
on the command line as the documentation suggested for more than 10 years.
PR: docs/3290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the following from recent OpenBSD changes. These changes (and all
I've made) should be merged back into 2.2 when they are vetted in
-current.
common.c:
OpenBSD 1.7: mickey: #if __STDC__ --> #ifdef __STDC__
displayq.c:
OpenBSD 1.8: deraadt: 1 byte oflows; millert
rmjob.c:
OpenBSD 1.8: deraadt: 1 byte oflows; millert
cmds.c:
OpenBSD 1.9: grr: restore traditional "all" keyword option - see lpc(8)
[[ This makes lpc status all work again -- imp ]]
printjob.c:
OpenBSD 1.17: deraadt: use sendmail -t
OpenBSD 1.16: mickey: #if __STDC__ --> #ifdef __STDC__
OpenBSD 1.15: deraadt: 1 byte oflow; Don.Lewis@tsc.tdk.com
recvjob.c:
OpenBSD 1.11: mickey: #if __STDC__ --> #ifdef __STDC__
lpr.c:
OpenBSD 1.19: mickey: #if __STDC__ --> #ifdef __STDC__
Obtained from: OpenBSD
|
|
|
|
|
| |
Be pedantic about always using sizeof(blah) vs sizeof (blah) or sizeof blah.
Obtained from:OpenBSD
|
|
|
|
|
|
| |
diffes with NetBSD/OpenBSD. These changes seem to predate the NetBSD/OpenBSD
split, so it is hard to give proper credit for them.
Obtained from: OpenBSD.
|
|
|
|
|
|
|
|
|
|
|
|
| |
overflow patches that were "near" to where these operations are taking
place. The buffer overflows are from OpenBSD. The setuid/seteuid patches
are from NetBSD by way of OpenBSD (they changed them a little), at least from
my read of the tree.
This is the first of a series of OpenBSD lpr/et al merges. It (and them)
should be merged back into 2.2 and/or 2.1 (if requested) branches when they
have been shaken out in -current.
Obtained from: OpenBSD
|
|
|
|
| |
Submitted by: Wayne Scott <wscott@ichips.intel.com>
|
|
|
|
|
|
|
|
|
| |
the hostname into. In theory the bind library should do this, but
in practice the limites between system defines and bind defines make
an attack using this vector possible. These patches have been in
use on my systems for three months now, so I am fairly confident about
them. I plan on commiting this to 2.2 and 2.1 in the near future,
as well as many other patches of this nature.
|
|
|
|
|
| |
conditions similar to those reported in CERT's CA-91:10a advisory.
Obtained from: Hiroshi NAKANO <nakano@rins.ryukoku.ac.jp> by way of CERT.
|
|
|
|
|
|
| |
PR: 3889
Reviewed by: phk
Submitted by: Yujiro MIYATA <miyata@bioele.nuee.nagoya-u.ac.jp>
|
|
|
|
| |
Reviewed by: Warner
|
|
|
|
|
| |
prevent lpq from hanging indefinately (well, 10 minutes are for sure
counting as `indefinately' in this case).
|
| |
|
|
|
|
| |
Submitted by: eivind
|
|
|
|
| |
Submitted by: Garance A Drosehn <gad@eclipse.its.rpi.edu>
|
|
|
|
| |
Submitted by: Garance A Drosehn <gad@eclipse.its.rpi.edu>
|
| |
|
|
|
|
|
| |
Output filters are executed on a per-file basis as it's
necessary to supply the file size to the "other side".
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
|
|
| |
the banner page.
Closes PR# 1986.
Submitted by: Mark Valentine <mark@linus.demon.co.uk>
|