Commit graph

3913 commits

Author SHA1 Message Date
David E. O'Brien 2f8b721157 Fix the rcsid's. 2001-05-17 09:38:49 +00:00
Eric Melville 40c65ba9c7 Check for the expiration of an account and its password in the proper
order.

Reviewed by:	-audit (silence)
Approved by:	murray
Obtained from:	OpenBSD
MFC after:	5 days
2001-05-17 03:10:04 +00:00
Ruslan Ermilov bfd1220842 mdoc(7) police: fix markup. 2001-05-16 13:53:19 +00:00
Poul-Henning Kamp 49a4598b61 Fix an array which was too small.
PR:		27380
Submitted by:	Samuel Greear <sgreear@vsni.com>
2001-05-16 11:13:16 +00:00
Ruslan Ermilov 7fa247d086 mdoc(7) police: fix markup (demonstrates new -xwidth modifier). 2001-05-16 10:18:20 +00:00
Dima Dorfman 8d904f1537 Add a -J replstr option that allows the user to tell xargs to insert
the data read from standard input at a specific point in the command
line arguments rather than at the end.

Submitted by:	dd, gad
Reviewed by:	gad, brian
2001-05-15 00:31:19 +00:00
Eric Melville e0ce2384ac Add some gravitational values.
Approved by:	murray
2001-05-12 21:21:38 +00:00
Dima Dorfman 43d665c0d1 Document the -h option. 2001-05-11 23:53:46 +00:00
Mike Heffner afa3a100e9 Allow mail(1) to be able to read Eudora mailboxes by transforming
lines that end in <CR><LF> to just <LF>.

Reviewed by:	imp
Obtained from:	OpenBSD
2001-05-11 03:07:11 +00:00
Sheldon Hearn 0a39318247 Handle sbsize as a size, not a number.
Submitted by:	Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
David E. O'Brien af32b80c65 Tell the user what group they must be in to su to root.
Submitted by:	Seth Kingsley <sethk@osd.bsdi.com>
2001-05-10 07:37:25 +00:00
Ruslan Ermilov f12d6e12ec mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00
Jens Schweikhardt 9478bbeae3 Here comes the forgotten C source, oopsy.
Turned the shell script into a binary fixing several minor buglets.
Mention _POSIX_SOURCE feature test macro in man page.
PR:           bin/19337
Submitted by: schweikh
Reviewed by:  joerg, bde
MFC after:    2 weeks
2001-05-08 20:27:14 +00:00
Jens Schweikhardt 3f16089799 Turned the shell script into a binary fixing several minor buglets.
Mention _POSIX_SOURCE feature test macro in man page.
PR:		bin/19337
Submitted by:	myself way back when I was a nobody :-) (schweikh)
Reviewed by:	joerg, bde
MFC after:	2 weeks
2001-05-08 19:47:01 +00:00
Kris Kennaway a47f98edb4 When opening the file to broadcast, do it with the user's gid, not the
egid (tty).

Obtained from:	OpenBSD
Submitted by:	Maxime Henrion <mux@qualys.com>
Reviewed by:	imp
2001-05-08 11:11:42 +00:00
Ruslan Ermilov b940897514 Restore printing of routes cloned from a RTF_CLONING parent
(e.g., ARP table entries) with the default routing display.

PR:		bin/26970
Reviewed by:	wollman
MFC after:	3 days
2001-05-07 12:29:36 +00:00
Brian Somers 1e207e46d7 Fix markup
Spotted by:	Jens Schweikhardt <schweikh@schweikhardt.net>
2001-05-05 09:02:24 +00:00
Brian Somers f21559815d Add nl(1)
PR:		27078
Obtained from:	NetBSD
2001-05-04 17:25:23 +00:00
Poul-Henning Kamp ea92232a82 They add the following commands:
-anewer
   -cnewer
   -mnewer
   -okdir
   -newer[acm][acmt]

 With it, you can form queries like

     find . -newerct '1 minute ago' -print

 As an extra bonus, the program is ANSI-fied - the original version
 relies on some obscure features of K&R C.

(This PR was submitted in 1999, and the submittor has kept the patch
updated ever since, hats off for him guys, and how about you close a PR ??)

PR:		9374
Submitted by:	Martin Birgmeier <Martin.Birgmeier@aon.at>
2001-05-03 18:05:35 +00:00
David E. O'Brien 88c80dc7ef Fix minor style issue from previous commit. 2001-05-03 00:35:53 +00:00
David E. O'Brien 31255c78c7 Fix $FreeBSD$ style. 2001-05-02 23:57:49 +00:00
David E. O'Brien 5e6220d9d0 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
Dima Dorfman a9bc34c882 Alphabetize command-line options in the synopsis. 2001-05-02 06:41:46 +00:00
Mark Murray 31a651fa98 Clean out some cruft that has been put in a better (central) place. 2001-05-01 10:30:08 +00:00
Mark Murray 6e547eabb8 Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
Dima Dorfman f238e04f6f mdoc(7) police: remove hard sentence breaks. 2001-04-30 23:20:43 +00:00
Peter Wemm c8c08ef0e5 Disable llib. The previous commit does not go anywhere near far enough
to enable this.
1: it was running xlint out of the object directory, which is not
safe (ie: run a 5.x binary on a 4.x world - no libc.so.5, or run an
alpha binary on x86).
2: lint has /usr/libexec/lint1 and /usr/libexec/lint2 hard coded in.
This is the same as problem 1.
3: lint has got /usr/bin/cc hard coded in as well.  Also, see problem 1.
There are probably more problems, but these are enough of a showstopper.
2001-04-29 03:19:58 +00:00
Greg Lehey 60fb0ce365 Revert consequences of changes to mount.h, part 2.
Requested by:	bde
2001-04-29 02:45:39 +00:00
Mark Murray 42792ad958 Dike out Kerberos(IV) support on the grounds that better kerberos
support can be gotten via PAM.
2001-04-28 13:44:14 +00:00
Mark Murray 1351464cc7 Dike out the Kerberos(IV) support on the grounds that better kerberos
support can be already obtained via PAM.
2001-04-28 13:40:52 +00:00
Mark Murray 289ef82e3c Enable (optional) static linking. 2001-04-28 08:06:33 +00:00
Andrey A. Chernov 68bfc19537 Fix wrong (char) cast (instead of unsigned char) causing highlighting of all
8bit characters due to famous sign extension bug.
2001-04-27 22:35:44 +00:00
John Baldwin 2522796e9d Check the new kern.smp.active sysctl rather than the non-existent
smp.smp_active sysctl to determine if we are running on an SMP machine.
2001-04-27 19:33:50 +00:00
Ruslan Ermilov 3520eff8da mdoc(7) police: fix markup.
(Shows how powerful new -mdoc is.)
2001-04-27 10:13:20 +00:00
Jens Schweikhardt 7357c5cf15 Fix a grammar bogon. 2001-04-26 17:16:59 +00:00
Jeroen Ruigrok van der Werven c27ec88714 Remove XXX_BROKEN_GCC from the Makefile.
This compiles just fine with recent gcc's.
2001-04-26 09:44:41 +00:00
Dima Dorfman ea0aee1233 mdoc(7) police: remove hard sentence breaks. 2001-04-26 06:10:46 +00:00
Bill Fenner b9d92bf53e Add missing break when printing IPv6 multicast addresses.
Use the sockaddr_dl sdl_type, not ifnet.if_type, to decide what type
 a multicast sockaddr_dl is.
2001-04-26 06:02:03 +00:00
Will Andrews 40adb1a63b Remove GCC-ism (-Wall).
Submitted by:	bde
2001-04-26 04:40:57 +00:00
Ruslan Ermilov 9aa8f5f68a Add -Wall. 2001-04-25 14:59:16 +00:00
Ruslan Ermilov f8532548a6 -Wall cleanup. 2001-04-25 14:45:36 +00:00
Ruslan Ermilov 73295d34c7 unifdef -UWANT_ENV_PWD.
No one ever going to use this bugfeature.
2001-04-25 14:44:42 +00:00
Ruslan Ermilov 43403d166a Make ${.OBJDIR} canonical.
Reviewed by:	bde
2001-04-25 14:22:38 +00:00
Doug Barton e69b2bc11c Reverse order of from and to in order to match reality.
PR:		26631
Submitted by:	Glenn Johnson, glennpj@charter.net
2001-04-25 07:43:45 +00:00
Dima Dorfman 1928e20e95 Teach cut(1) how to handle long lines: convert from fgets(3) to fgetln(3).
PR:		26810
Reviewed by:	dwmalone
2001-04-25 05:42:53 +00:00
Jeroen Ruigrok van der Werven b94ea15307 Wrap lint calling in a variable.
Set LINT to the obj path, since we need to use the new lint's features
to create .ln files.  We do not want to use the installed version for that,
since that might create files according to the old lint.

This is still a work in progress to clean this all up, but it gets
through buildworld, which was the problem at hand.
2001-04-24 20:23:37 +00:00
Jeroen Ruigrok van der Werven e41281f1d2 Add build-tools target to the description file, requisite of making
lint a build-tool.

Also re-enable llib.
2001-04-24 20:20:41 +00:00
Kris Kennaway 345edac558 Call usage() if given more than 1 argument.
Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-04-24 10:39:17 +00:00
Jeroen Ruigrok van der Werven 9dabdff52e Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by:   bde/obrien
2001-04-23 20:07:21 +00:00
Greg Lehey 5a0a51cf5a Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by:	phk
2001-04-23 08:11:54 +00:00