Commit graph

5708 commits

Author SHA1 Message Date
Dag-Erling Smørgrav dacff75286 s/optarg/s/ (cut'n'paste braino)
Spotted by:	kris
2002-08-27 10:19:24 +00:00
Greg Lehey 045d6370fc Clarify that the date 26 August 1920 was the date women got the vote
in USA, not the world first.

Add dates for women's votes in New Zealand.

Add dates for women's votes and rights to political office in South
Australia.
2002-08-26 00:23:56 +00:00
Philippe Charnier 93b0017f88 Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
Juli Mallett acdb9a105e Add a -C ala GNU make(1) for Makefiles which are too lazy to use $(MAKE) and
this particular GNU flag.  It changes into the given directory for the
operation in question.  This just goes into said directory at the time of
parsing the argument for getopt(3).

Submitted by:	Rachel Hestilow <rachel@jerkcity.com>
2002-08-25 02:45:04 +00:00
Andrey A. Chernov 7f4fd84cf9 Tweak chain example to show more possibilities 2002-08-23 14:03:59 +00:00
Sean Chittenden d0d0355e4d Fix warning when calling w(1) when logged in via xdm/kdm. This is
really a problem with utmp/wtmp, but takes the same approach as who(1).

Reviewed by:	knu (mentor), mini, silence on -audit
Approved by:	knu (mentor), mini
2002-08-23 04:31:58 +00:00
Andrey A. Chernov 79458607f6 Allow chains in any form like <name1><name2> or \xf1\xf2, not binary
representation only.
2002-08-23 04:18:26 +00:00
Johan Karlsson eb238d0692 Use correct document date for the -a option. 2002-08-22 01:54:18 +00:00
Johan Karlsson 1f05bc6c92 Add the -a option to report all matches instead of only the
first of each requested type.

Approved by: joerg, sheldonh (mentor)
2002-08-22 01:50:51 +00:00
Thomas Quinot f763d3ef0a Jump in.
Reviewed by:	roberto
2002-08-21 21:18:14 +00:00
Joerg Wunsch 0dfcc59353 For scripts that are called in non-login environments (in particular
mail filters), the /usr/bin/perl dummy fails since it assumes that the
installed package could be reached via the existing $PATH.  Also,
since we are obviously looking for a perl installed by a package, we
should make sure that at least the default package bindir is being
searched.
2002-08-21 20:54:45 +00:00
Oliver Braun feec8fd25b Add myself.
Approved by:	dwcjr (mentor)
2002-08-21 14:25:48 +00:00
Andrey A. Chernov 8011a282e0 Document SWIDTH* 2002-08-20 15:19:34 +00:00
Ruslan Ermilov 4612010cdd Allow embedded :' and !' in target names.
PR:		bin/6612
Obtained from:	OpenBSD
MFC after:	1 week
2002-08-20 12:50:32 +00:00
Warner Losh 84bbb6cab3 When login tries to do the chmod/chflags on a read only file system,
it complains that it can't do it because the filesystem is readonly.
Assume that when the user has a readonly /dev that they don't care if
login can't change the permissions/flags.  While this does break a few
things like msgs, we'll assume that the user setting up the read only
system knows what they are doing.

All this change does is to stop the complaint when the file system is
read only.  It also adds comments as to why EROFS and EOPNOTSUPP are
ignored.

This allows one to have a read-only / w/o a /dev MFS and have a
relatively warning-free existence.  /etc/rc still complains when it
can't chown/chflags/chmod things, but that's easy to ignore/tweak.

Reviewed by: roberto, phk
Sponsored by: Timing Solutions
2002-08-19 20:54:00 +00:00
Juli Mallett 3a7fc8ce59 Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
Juli Mallett 4a0193d39e Add a unary -not operator ala -false and !, for sake of completeness.
Obtained from:	OpenDarwin
MFC after:	1 week
2002-08-19 02:27:33 +00:00
Johan Karlsson ad23c58318 Correctly handle empty path arguments, e.g., whereis -S -f biff.
Approved by:	joerg, sheldonh (mentor)
2002-08-18 18:21:18 +00:00
Michael C . Wu ff9c912816 Add swidth definitions and lex code to mklocale
After adding swidth support in iswctype.c and ctype.h

Submitted by:	clkao@clkao.org
Reviewed by:	keichii,ache
Obtained from:	NetBSD
MFC after:	1 month
2002-08-16 13:46:43 +00:00
Sean Chittenden ffd711039f Forgot to change branches for my src tree. MFS my birthdate.
Pointed out by:	maxim
Reviewed by:	knu (mentor)
Approved by:	knu (mentor)
2002-08-16 09:41:07 +00:00
Johan Karlsson af3c8cb07d Bump document date for the 'beep only' change. 2002-08-16 03:08:25 +00:00
Joe Marcus Clarke 3bc63f613f Bah! Use the full name for Florida. 2002-08-15 22:44:56 +00:00
Joe Marcus Clarke ed093a2098 Add myself. 2002-08-15 22:43:01 +00:00
David Greenman 25de38b6dc Add myself. 2002-08-15 22:34:45 +00:00
Juli Mallett c9776a935f Oops, add -false to the operators list in the manual page for find(1), as added
in revision 1.17 of option.c.

MFC after:	1 week
2002-08-15 18:30:13 +00:00
Juli Mallett 65acff377a Add support for -false instead of '!' cause it can be hard to use that in
some shells, etc., and also for GNU compatability (lack of this broke the
Mono CVS build for me).

MFC after:	1 week
2002-08-15 18:24:55 +00:00
Doug Barton 782ce28781 I was too conservative with my header changes, so restore some sanity
via bde. atatat@NetBSD.org made basically the same change in their
version, so bring over their CVS Id which I neglected last time.

Obtained from:	bde, Andrew Brown <atatat@NetBSD.org>
2002-08-15 04:58:46 +00:00
Bosko Milekic d8aadd88cf Unbreak building of fstat following version 1.23 of
src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h.
2002-08-14 16:34:13 +00:00
Andrey A. Chernov 3b2d61780f Use proper #include 2002-08-14 11:59:57 +00:00
Andrey A. Chernov 02826007ca Add #undefs to separate local buffers declaration and now dinamic libc buffers 2002-08-14 11:51:26 +00:00
Ruslan Ermilov 93df249471 mdoc(7) police: simplify. 2002-08-14 11:38:30 +00:00
Ruslan Ermilov eaa529121a mdoc(7) police: Forgot to bump .Dd. 2002-08-14 11:32:32 +00:00
Ruslan Ermilov 3791250688 mdoc(7) police:
Added -F and -W options to the SYNOPSIS.
Fixed options DESCRIPTION to match style(9).
Document the default for -F.
2002-08-14 11:31:37 +00:00
Ruslan Ermilov 67cb90ecd7 Fix the usage() to match style(9). 2002-08-14 11:28:07 +00:00
Ruslan Ermilov d3ee5eafe5 mdoc(7) police: nits. 2002-08-14 11:05:40 +00:00
Doug Barton a6d192950e A much better description of the -q option.
Obtained from:	Andrew Brown <atatat@NetBSD.org>
2002-08-13 20:07:36 +00:00
Ian Dowse 35655e3c45 If a timeout is specified, make sure that rcmd() completes within
the specified time. Previously, rsh could potentially hang indefinitely
at this point even when a timeout was set, for example if the server
accepts the connection and then never sends any reply.

PR:		bin/20042
Submitted by:	Keith White <Keith.White@site.uottawa.ca>
MFC after:	1 week
2002-08-13 16:25:38 +00:00
Ruslan Ermilov a654c53e16 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
Ruslan Ermilov 5e27573309 mdoc(7) police: untangle. 2002-08-13 15:59:28 +00:00
Doug Barton 5b812a140d A cooperative effort...
1. Update the code to the latest from NetBSD, which includes:
* A new command line option to suppress stat(2) errors
* Output is now done via stdio
* Fixes for bitwise OR'ing of letters

2. Andrew from NetBSD merged in our own Johan's readlink patches.

3. Andrew also merged in some brucifications.

I made some small contributions to the header cleanup, and tried
to generally improve the overall style(9)'ishness. I also documented
the new -q option and added the *LINKS to the Makefile.

All responsibility for mistakes in merging the contributions
from the above is mine.

Obtained from:	Andrew Brown <atatat@NetBSD.org>, bde, johan
2002-08-13 08:23:49 +00:00
Andrey A. Chernov 3e2322fcff Fix typing error in prev. commit 2002-08-12 17:24:42 +00:00
Andrey A. Chernov 09d932cf40 Fix style bug in prev. commit 2002-08-12 17:23:06 +00:00
Andrey A. Chernov 54c93e4f4d Fix su job control (recently introduced for PAM cleanup purposes) to not
kill login shell on either "suspend/fg" or "stop $$/fg" for tcsh. Since
this bug occurse on -stable too, it is not kernel threads bug.

Submitted by:	 David Xu <bsddiy@yahoo.com>
2002-08-12 10:49:01 +00:00
Jens Schweikhardt 2b239dd118 Fix typos; each file has at least one s/seperat/separat/
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.

Suggested by:	bde
MFC after:	3 days
2002-08-11 13:05:30 +00:00
Ruslan Ermilov ef3a89cfe8 main.c:450: warning: `targs' might be used uninitialized in this function
Spotted by:	patrick@godloveya.com, naddy, -Wuninitialized

This segfaulted alpha and sparc64; i386 had this magically zeroed.
2002-08-11 11:10:43 +00:00
Tim J. Robbins 98c385e7d6 Locale environment variables influence wc(1) regardless of whether the
-m option is specified; correct ENVIRONMENT section.
2002-08-11 10:54:19 +00:00
Tim J. Robbins e58245f7dc Use the iswspace(3) function now that it's been implemented. 2002-08-11 10:52:13 +00:00
Tim J. Robbins 13ee49d316 Correct boundary condition error in D' and P' commands when the last
line of the pattern space is empty. Don't emit spurious newline when
EOF is reached with the `N' command.

Pointed out by:	Oleg Osyka
MFC after:	1 week
2002-08-11 09:53:44 +00:00
Maxime Henrion 24befda40b Add #include <sys/sysctl.h>. In my tree, mount.h includes
sysctl.h and I was depending on this namespace pollution.

Submitted by:	jake
2002-08-11 02:07:43 +00:00
Maxime Henrion 5965373e69 - Introduce a new struct xvfsconf, the userland version of struct vfsconf.
- Make getvfsbyname() take a struct xvfsconf *.
- Convert several consumers of getvfsbyname() to use struct xvfsconf.
- Correct the getvfsbyname.3 manpage.
- Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the
  kernel, and rewrite getvfsbyname() to use this instead of the weird
  existing API.
- Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist
  sysctl.
- Convert a vfsload() call in nfsiod.c to kldload() and remove the useless
  vfsisloadable() and endvfsent() calls.
- Add a warning printf() in vfs_sysctl() to tell people they are using
  an old userland.

After these changes, it's possible to modify struct vfsconf without
breaking the binary compatibility.  Please note that these changes don't
break this compatibility either.

When bp will have updated mount_smbfs(8) with the patch I sent him, there
will be no more consumers of the {set,get,end}vfsent(), vfsisloadable()
and vfsload() API, and I will promptly delete it.
2002-08-10 20:19:04 +00:00