Commit Graph

1083 Commits

Author SHA1 Message Date
brian
f0d40d02af A much better (more correct) fix for handling ``!'' characters
Obtained from: NetBSD
2001-04-04 10:11:43 +00:00
brian
ff8613ac4a Handle ``!'' characters when they appear as second and subsequent
parts of an && or || expression.

This makes this expression work as expected:

	if true && ! false; then echo yes; fi
2001-04-04 09:30:50 +00:00
ru
f15a4c9bfc Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
ben
b260433492 Remove a comment which seemed to confuse makewhatis:
ben@freefall:~$ whatis ed
ed(1), -(1) - ed, red text editor

PR:		25164
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-03-29 01:25:06 +00:00
ru
abad4ae0a9 MAN[1-9] -> MAN. 2001-03-27 10:03:10 +00:00
fenner
d7bab9b937 Fix error reporting of delayed send errors. 2001-03-26 16:18:01 +00:00
ru
4087def52f mdoc(7) police: fix markup and some spelling. 2001-03-23 08:14:27 +00:00
ache
e0edb2a786 Silence minor cc warning 2001-03-21 15:14:47 +00:00
ache
f19ded5c99 Use nl_langinfo instead of %Ef 2001-03-21 13:33:09 +00:00
ache
0b59307318 Use nl_langinfo instead of %Ef 2001-03-21 13:21:20 +00:00
jedgar
defb1e08ce Remove extra CFLAGS
Add DPADD

Submitted by:	bde
2001-03-20 02:55:43 +00:00
jedgar
bb20d11996 Remove extra CFLAGS and redundant SRCS
Add DPADD

Submitted by:	bde
2001-03-20 02:54:41 +00:00
jedgar
3acc61edfc Remove 'NOSHARED=yes' (../Makefile.inc already sets this) 2001-03-19 21:18:48 +00:00
rwatson
97b3747b7e o Missed in addition of setfacl.h in setfacl(1) 2001-03-19 18:59:36 +00:00
rwatson
9d03a9960a o Missed in prior commit: getfacl(1) Makefile 2001-03-19 18:58:16 +00:00
rwatson
4e2b42a3a7 o Enable getfacl(1) and setfacl(1)
Obtained from:	TrustedBSD Project
2001-03-19 18:09:56 +00:00
rwatson
0bd2898eb2 o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
from files and directories, and setfacl sets ACLs on files and directories.

Submitted by:	jedgar
Obtained from:	TrustedBSD Project
2001-03-19 18:09:25 +00:00
ache
767ad5fbdb DIS -> ISO 2001-03-17 20:15:21 +00:00
dd
fe3b5f1d67 Make it clear that the -v option doesn't actually set the date.
PR:		24773
Approved by:	nik
2001-03-16 02:20:24 +00:00
asmodai
3e071e7b51 Revert this file back to how it was in the STABLE branch, this means:
put greek and ja in the correct alphabetical place in the SUBDIR line.
2001-03-05 09:50:43 +00:00
kris
279e311e78 Switch from using rand() or random() to a stronger, more appropriate PRNG
(random() or arc4random())

Reviewed by:	bde
2001-03-05 02:15:38 +00:00
assar
05286a6e61 implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
ache
8a18d60de0 Small optimization: set use_ampm only when needed 2001-03-03 01:46:58 +00:00
ache
53a7b40fdc Use AM/PM time only when available in locale 2001-03-02 23:53:36 +00:00
ru
23aab9f696 POSIX wrote:
: LC_TIME   This variable shall determine the format and
:           contents of date and time strings when the -v
:           option is specified.

Developers took this wrong.  LC_TIME specifies the locale
name, not the ``format'' argument of strftime().

Oops:
	pax -w -f /tmp/foo /dev/null
	LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo
2001-03-02 16:19:49 +00:00
ben
8d752631f2 The 'X' permission symbol is specified by POSIX.2, so don't say that it
isn't.

Obtained from:	NetBSD
Confirmed by:	ru, wollman
2001-03-01 19:03:01 +00:00
ru
0b7f07b8e5 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
obrien
fe8a85ef41 Fix style bug I introduced with rev 1.13 (rcsid after includes).
Along with CSRG id lossage in rev 1.11.

Submitted by:	bde
2001-02-28 11:06:04 +00:00
obrien
cd4c00fb6b Add rcsid. 2001-02-27 10:50:06 +00:00
ru
f270ecc3f7 Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.
Submitted by:	"Stephen L. Palmer" <slpalmer@mail.com>
Forgotten by:	asmodai
2001-02-22 07:29:40 +00:00
jlemon
5f9e45a640 Do not coredump if no options are supplied. (ps -o,)
Submitted by: rgrimes
Obtained from: NetBSD
2001-02-14 18:54:34 +00:00
ru
128310ec7a mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
jake
9437320062 Catch up to new priority interface. 2001-02-12 00:21:38 +00:00
ache
f3f24d3081 Use decimal point from locale 2001-02-11 02:25:56 +00:00
asmodai
db24d83a1c Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
cracauer
5718f93166 Fix child's SIGSTOP behaviour in scripts.
When a child is receiving SIGSTOP, eval continues with the next
command.  While that is correct for the interactive case (Control-Z
and you get the prompt back), it is wrong for a shellscript, which
just continues with the next command, never again waiting for the
stopped child.  Noted when childs from cronjobs were stopped, just to
make more processes (by wosch).

The fix is not to return from a job wait when the wait returned for a
stopped child while in non-interactive mode.  This bahaviour seems to
be what bash2 and ksh implement.  I tested for correct behaviour for
finnaly killing the child with and without forgrounding it first.
When not foregrouding before killing, the shell continues with the
script, which is what the other shells do as well.

Reviewed by:	Silence on -current
2001-02-06 10:29:34 +00:00
mckay
ecc91f5ee9 In the hope of saving others from hours of tedious recovery work,
document that cp still isn't very useful for recursive copies even
with the -R flag.  This is because hard links are broken by cp.
2001-02-04 02:02:38 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
jdp
aa403d88f7 Note that rmdir(2) does not follow symbolic links. 2001-01-24 23:49:59 +00:00
jhb
2dbedd3879 - Catch up to new proc flags. 2001-01-24 12:59:50 +00:00
ben
4d9d19bfda Document the restrictions on changing times in high securelevels.
PR:		23502
Submitted by:	Robert Boyd <rboyd@pokerspot.com>
2001-01-17 21:27:54 +00:00
ache
c6aa37257c Activate Greek message catalog 2001-01-17 16:54:43 +00:00
ru
0a2b2f2e94 Prepare for mdoc(7)NG. 2001-01-16 09:08:22 +00:00
alfred
495935c944 Special case the error reporting when errno is ENOTDIR or ENOENT.
This makes "mkdir /nonexistant/foo" complain that /nonexistant
doesn't exist rather than /nonexistant/foo which doesn't make much
sense.

Submitted (in a different form) by: W.H.Scholten <whs@xs4all.nl>
2001-01-14 12:08:50 +00:00
hoek
6aeeb464bc grammar gnit: "relationships (plural) _are_ complex" 2000-12-28 17:17:49 +00:00
ru
0426c416ef mdoc(7) police: simplify construct. 2000-12-21 15:31:28 +00:00
obrien
5e2b5a5185 Display pathname of item being rm'ed.
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-12-20 08:31:26 +00:00
ru
655e7db87e Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ru
de4d2f597f Prepare for mdoc(7)NG. 2000-12-19 15:30:26 +00:00
ru
e9b708d4f7 Prepare for mdoc(7)NG. 2000-12-18 14:48:17 +00:00
mckusick
1c2d14cff5 Restore the rss (-u) keyword that got deleted in my somewhat over-zealous
cleanup effort.

Submitted by:	Mark Peek <mark@whistle.com>
2000-12-16 02:01:05 +00:00
ru
951f048dbb Prepare for mdoc(7)NG. 2000-12-15 17:37:31 +00:00
ru
82bf19e1d7 mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
mckusick
7d330b9cd3 Change the proc information returned from the kernel so that it
no longer contains kernel specific data structures, but rather
only scalar values and structures that are already part of the
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
of unassigned space for future values to be added, yet is nearly
100 bytes smaller per entry than the structure that it replaced.
2000-12-12 07:25:57 +00:00
obrien
46d04a9db4 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
obrien
81f987433a Change the spelling of .' to .' from .OBJDIR since `.' really is where
generated files land.  Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
ache
82923f0113 Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
Add gethost to build-tools to help cross-building
2000-12-03 16:28:56 +00:00
obrien
5a4665ef57 Fix a "#ifdef" where a comparison operator was used.
GCC 2.96 does not like this.
2000-12-01 12:29:00 +00:00
brian
dc6d6e8cce Exit if malloc() returns NULL
Submitted by: Chris Faulhaber <jedgar@fxp.org>
2000-12-01 09:59:40 +00:00
ache
a82cf6229f Upgrade to 6.10 2000-11-30 21:38:37 +00:00
jhb
8c6c29deba Document the mtxname keyword.
Reviewed by:	sheldonh
2000-11-30 19:17:56 +00:00
jhb
6ef2fea424 Introduce a 'mtxname' keyword that displays the current mutex that a
process is blocked on or '-'.
2000-11-29 21:09:21 +00:00
jkh
b379154a28 Add support for an "erase2" so that both ^H and DEL can be used
for backspacing.

Submitted By:	Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
2000-11-28 19:48:06 +00:00
ru
3c3e137d0d Eliminate groff(1) warnings. 2000-11-27 08:50:56 +00:00
kris
211cef1691 Constify 2000-11-27 06:26:48 +00:00
kris
c06fa5ed9f Don't call err() with user data and without a format string 2000-11-26 08:50:12 +00:00
ru
5e32e01a75 mdoc(7) police: minor fixes. 2000-11-24 11:39:39 +00:00
phk
68987eb3d9 Let the pwd program double as realpath(1).
This lets you resolve pathnames to their underlying physical path:

	critter# realpath /sys/kern/subr_disk.c
	/freebsd/src/sys/kern/subr_disk.c

Update the pwd man-page slightly.
2000-11-24 10:18:52 +00:00
ben
62713268c4 kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0.
PR:		23020
Submitted by:	Simon Dick <simond@irrelevant.org>
2000-11-23 11:21:35 +00:00
ru
9852532bf6 mdoc(7) police: Er macro usage cleanup. 2000-11-22 15:55:01 +00:00
kris
1938e2873a Use secure temporary filenames during build.
Audited by:	markm, cracauer
2000-11-22 11:05:51 +00:00
ru
e39a2d7511 log 2000-11-22 09:23:54 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
c835e11eed mdoc(7) police: use the new features of the Nm macro. 2000-11-20 11:39:41 +00:00
ru
7ec1a7afcd mdoc(7) police: now that Nm macro accepts punctuation characters
as argument, unbreak this page by escaping the `[' character.

Noticed by:	sheldonh
2000-11-18 14:44:30 +00:00
ben
6f0ff396c7 more removal of trailing periods from SEE ALSO. 2000-11-15 16:44:24 +00:00
ru
b42832df66 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
obrien
3dea197160 Install `chflags' in the root partition, NOT /usr where it is not available
in single user mode.
2000-11-10 05:31:52 +00:00
ru
abd90896fc Properly declare the multiple-columns list. 2000-11-06 11:18:13 +00:00
ru
641db535b7 Finish conversion from man(7) to mdoc(7). 2000-11-06 09:14:22 +00:00
jedgar
137dcbe72f Remove obsolete /dev/drum references
Reviewed by:	alex, asmodai, billf
2000-10-29 12:19:52 +00:00
dougb
8e5f958ada Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.

PR:		bin/21321
Submitted by:	Me
2000-10-29 06:57:59 +00:00
gshapiro
e2312795f1 Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
green
c87d1fefcc Allow negative seek offsets for files that can be seeked upon. It
makes dd(1) a more complete "filter", even if this functionality is
limited to seekable streams.
2000-10-22 23:00:32 +00:00
brian
bfa375d8ae Include sys/types.h 2000-10-16 07:11:30 +00:00
gshapiro
c1aaccb362 Style fixes 2000-10-11 05:04:21 +00:00
wollman
5e8b712997 Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
brian
bf78ed595f Implement the <> redirection operator. 2000-10-03 23:13:14 +00:00
kris
e76bb21f79 No need to work around SCCS variable expansion any more. 2000-09-28 02:54:44 +00:00
brian
8829d062a6 Support multiple (comma separated) names as arguments to -U
PR: 11051
2000-09-26 01:03:16 +00:00
ru
a91f5a0fcf Use .Cm macro where appropriate. 2000-09-19 16:15:54 +00:00
sheldonh
bb4b52d7b0 Fix horrendous abuse of the Nm and Pa mdoc macros, and remove troff
bold markers \fB and \fR.
2000-09-19 09:46:01 +00:00
ken
2707947b4b Add two new features to chio(1):
- The ability to specify elements by volume tag instead of their actual
   physical location.  e.g., instead of:
	chio move slot 3 slot 4
   you would now use:
	chio move voltag FOO slot 4

 - The ability to return an element to its previous location, as specified
   by the source element.  e.g., instead of:
	chio move drive 0 slot 4
   you would now use:
	chio return drive 0
   or
	chio return voltag FOO

These features will obviously only work with changers that support volume
tags and/or source element IDs.  chio(1) should fail gracefully if the user
attempts to use these new features and the source element ID or volume tag
are not found.

PR:		bin/21178
Submitted by:	"C. Stephen Gunn" <csg@waterspout.com>
Reviewed by:	ken
2000-09-18 06:09:11 +00:00
gshapiro
7d6c747f15 Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
jasone
daa58ba7a4 Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*().  See mutex(9).  (Note: The
  alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
  preempted (i386 only).

Partially contributed by:	BSDi (BSD/OS)
Submissions by (at least):	cp, dfr, dillon, grog, jake, jhb, sheldonh
2000-09-07 01:33:02 +00:00
marko
52302c2a37 Fix markup typo
PR:		21084
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-09-06 20:09:39 +00:00
sheldonh
97d0df44b5 Fix style bugs and poor wording introduced in rev 1.12.
Submitted by:	bde
2000-08-17 16:09:27 +00:00
sheldonh
1a368abb56 Fix style bugs and inconsistencies introduced in rev 1.16.
Submitted by:	bde
2000-08-17 16:08:06 +00:00
cracauer
dd299b5cb1 Disable part of my 8-bits fixes from December 1999.
Serious fix still needed, see discussion on -current
(Subject: /bin/sh dumps core with here-document of 8bit text)

Problem in this code originally spotted by
Jun Kuriyama <kuriyama@FreeBSD.org>
2000-08-16 12:23:57 +00:00