Commit Graph

7209 Commits

Author SHA1 Message Date
des
c352339df2 This code builds cleanly at WARNS level 6.
MFC after:	1 week
2004-11-08 18:08:16 +00:00
phk
878fd8dde7 filedesc0 is an internal detail of the kernel, don't look at it. 2004-11-07 20:38:29 +00:00
kientzle
4dc09ab3c8 FreeBSD does have uintmax_t, so it can correctly
print out very large file sizes.

Thanks to: Yar Tikhiy
2004-11-06 18:38:13 +00:00
harti
34224170f8 Now with the remote job support removed there can be no remote jobs and
no jobs that need to be remigrated. Remove the flags and the associated
code.
2004-11-05 11:41:36 +00:00
tjr
0473e0491d When the last line of a file is missing a newline in -f mode, pass a
length argument to mbrtowc() that accounts for the terminating newline
character we add automatically. Failing to do this caused the loop to
unexpectedly run out of characters and incorrectly signal an "Illegal byte
sequence" error.
2004-11-05 10:45:23 +00:00
fjoe
9428ecfc37 Check that ee's standard input and output is a terminal.
Do not ignore all the signals in range [1..24].

PR:		65892
MFC after:	2 weeks
2004-11-05 10:18:05 +00:00
kientzle
ac9cf04ce1 Correct error handling on failed writes
to the archive.
2004-11-05 05:39:37 +00:00
paul
4b813e782f Add support for following more than one file i.e.
tail -f file1 file2
2004-11-04 19:18:19 +00:00
harti
b04f4a45fc Remove the remote stuff from make. This actually never worked in our make
because the necessary files were not imported with the original import.
If somebody really needs it, there is still the devel/pmake port.

This is just the first step and removes just everything that is ifdef'ed out.
Otherwise the code is unchanged.

Checked by:	md5

Approved by:	no objections on arch@
2004-11-04 12:57:41 +00:00
ru
f0fbc30e0d Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk.  The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by:	oliver
2004-11-03 18:01:21 +00:00
paul
a13bf2199d Revert a WIP change that shouldn't have been in last commit. 2004-11-03 17:52:29 +00:00
paul
5386ac46ea Convert to ANSI style function definitions. 2004-11-03 15:23:11 +00:00
ahze
53a6f1c0a3 Add myself to the calendar
Approved by:	adamw(mentor)
2004-10-30 02:00:00 +00:00
ru
9452dc8627 Only check if ENABLE_SUID_NEWGRP is defined, for consistency with
other ENABLE_SUID_* variables.
2004-10-24 16:02:38 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
keramida
bd52d09088 Add a missing full-stop to match the rest of the items in a list. 2004-10-24 00:26:35 +00:00
ru
4a92f2ee91 "unset verbose" is 13 characters, not 10. 2004-10-23 21:36:55 +00:00
ru
2f410fc7e2 Expand the scope of the .SHELL specification to also cover
the compat mode of operation and the != operator.

While here, fixed a bug in the .SHELL directive processing
when only the name= attribute is specified and no built-in
shell matches this name, causing null pointer dereference.

Obtained from:	NetBSD (except for bugs)
2004-10-23 21:34:41 +00:00
cperciva
062605f760 Add punctuation which appears to have been accidentally removed in
revision 1.6.
2004-10-22 16:44:39 +00:00
phk
2f6f05bb4c Add -D_KVM_VNODE to indicate that despite being a userland program,
we want to know the vnode structures internals.
2004-10-21 12:09:45 +00:00
maxim
62754bb686 -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) and
usage() accordingly.

Submitted by:	Pawel Worach
2004-10-20 11:18:31 +00:00
ru
bf96115d5c Replaced afterinstall: with equivalent FILES and SYMLINKS. 2004-10-18 17:16:01 +00:00
cperciva
8c39a1e837 Modify behaviour of xargs -I in order to:
1. Conform to IEEE Std 1003.1-2004, which state that "Constructed
arguments cannot grow larger than 255 bytes", and
2. Avoid a buffer overflow.

Unfortunately the standard doesn't indicate how xargs is supposed to
handle arguments which (with the appropriate substitutions) would grow
larger than 255 bytes; this solution handles those by making as many
substitutions as possible without overflowing the buffer.

OpenBSD's xargs resolves this in a different direction, by making
all the substitutions and then silently truncating the resulting string.

Since this change may break existing scripts which rely upon the buffer
overflow (255 bytes isn't really all that long...) it will not be MFCed.
2004-10-18 15:40:47 +00:00
kientzle
a5b447bdc1 getopt(3) prints an "unrecognized option" warning for me, so I
shouldn't print another.

MFC after: 15 days
2004-10-17 23:58:17 +00:00
kientzle
ccd13c40f2 Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32"
MFC after: 15 days
2004-10-17 23:57:10 +00:00
tjr
3d89cd8c71 Remove the obsolete <rune.h> interface. 2004-10-17 06:51:50 +00:00
tjr
8a463b57c4 Use <runetype.h> instead of <rune.h> since the latter is going away. 2004-10-17 03:02:50 +00:00
tjr
b956669fcf Remove explicit support for generating LC_CTYPE data files that specify
the obsolete "UTF2" encoding.
2004-10-17 01:08:11 +00:00
brueffer
83d7b07570 Bump document date
Reminded by:	simon in ru-mode
2004-10-16 00:13:38 +00:00
brueffer
37cbeb0a03 We use /etc/pam.d/login nowadays 2004-10-15 23:46:00 +00:00
green
481a4ac3e6 Make sure to return 0 from kernel_getnfile() since if there were an
error, it would exit() (and it needs to return a value).
2004-10-05 23:49:27 +00:00
ru
d9df4f59eb Re-enable descending into the "atm" subdir. 2004-10-05 07:47:46 +00:00
simon
1eacded275 Bump document date for last commit.
Noticed by:	ru
2004-10-04 12:06:05 +00:00
simon
f0c65463ba PAM configuration is now in /etc/pam.d/su.
Submitted by:	Jilles Tjoelker <jilles@stack.nl> (original version)
PR:		docs/70616 (part of)
MFC after:	1 week
2004-10-03 21:44:42 +00:00
stefanf
d046f2677c Use a proper prototype for hertz(). 2004-10-03 18:22:35 +00:00
stefanf
d00a4eaaea Pass an array of gid_t rather than an array of int to getgroups().
PR:	56646
2004-10-02 11:40:48 +00:00
emax
3a45dd66e4 Make -t <tty> optional. If not specified use stdin/stdout.
Document this. These changes make it possible to write something like

	set device "!/usr/bin/rfcomm_sppd -a BD_ADDR"

inside the /etc/ppp/ppp.conf file. Very convenient for the users :)

Submitted by:	Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com>
MFC after:	3 days
2004-09-30 21:05:17 +00:00
dougb
fc66d174a3 1. Add much finer granularity to the NO_BIND knobs with the addition of:
NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS.

2. Make creation of directories in /usr/include that are only needed
in the WITH_BIND_LIBS case conditional.

Reviewed by:	ru, des
2004-09-27 08:23:43 +00:00
julian
cbad2b873c Don't use an uninitialised variable when reading from a ktr alq file. 2004-09-27 05:56:57 +00:00
dougb
661dabae80 Per style.Makefile(5), don't define MAN if the only page installed
is ${PROG}.1

Reviewed by:	ru
2004-09-26 09:38:08 +00:00
dougb
5887a0ecf4 Fix up the man file installation for the new BIND 9 sources:
1. Install man files and links for the lwres library.

2. Fix the path in various files to say /etc/namedb/ instead of just /etc.

3. Correctly install the conf file man pages for named and rndc.
2004-09-26 06:36:11 +00:00
trhodes
632ac71095 Fix build in the !NOATM case by using the begemot library in place of
using libisc which was a part of BIND8.

Discussed with:	des, re, dougb
Submitted by:	harti (one part)
Reviewed by:	harti (previous version)
2004-09-24 22:10:34 +00:00
keramida
23afcbf88f Allow %' to be used as a format flag by printf(1). This makes it
possible to print the thousands separator in the locale setups that
have one, by something like this:

    $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345
    12,345.00

Reviewed by:	das
2004-09-24 18:20:43 +00:00
ru
03cf2e6303 Don't expose BIND libraries and their headers to the public by default,
but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib
and /usr/include.  Rumors are that this may be useful at a later point,
let's see.

What this really means is that all BIND libraries are now internal to
buildworld (by default, unless WANT_BIND_LIBS is defined), and linked
statically into various BIND executables.

While here, removed redundant -I's from CFLAGS in lib/bind makefiles.

Sponsored by:	des
OK'ed by:	dougb
2004-09-24 13:42:00 +00:00
des
6bebc3d621 De-orbit more remnants of BIND 8.
Prodded by:	ru@
2004-09-23 07:36:31 +00:00
des
41e930f480 Clean up and comment config.mk. Centralize more stuff. Bitch if
POSIX threads libraries are not available.  Add crypto support if
the crypto libraries are available.  Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by:	(in part) dougb@
2004-09-22 12:13:58 +00:00
des
a4c12f8006 Switch from BIND 8 to BIND 9.
Submitted by:	(in part) dougb@, trhodes@
Reviewed by:	dougb@, trhodes@, re@
MFC after:	5 days
2004-09-21 19:01:48 +00:00
des
d59f3ddc7e Update copyright years. 2004-09-21 18:35:21 +00:00
das
09baad31f1 Fix a buffer overflow by using strncpy() instead of strcpy().
Also, use strdup() instead of malloc()/strcpy().

PR:		64164
2004-09-19 20:34:30 +00:00
ru
15deca3fae Place a function prototype correctly.
Submitted by:	Divacky Roman
2004-09-19 14:54:35 +00:00