ache
3a9c01158e
Fix ctype error #1 - chars must be unsigned
1998-04-25 00:10:24 +00:00
des
4fbb825b6e
Remove the bogus -? option after reading the getopt() manual :)
1998-04-24 20:15:43 +00:00
des
c447b743a8
o Removed two unused variables (f_dirname and f_newline) in ls.c
...
o Added the -H and -P options for treatment of symbolic links.
o Removed the #ifdef BSD4_4_LITE, since it does not seem to do anything
useful
o Fixed up prn_octal() so its output looks more like that of AT&T Unices
when -b is given.
The next two lines apply only to the first two changes above:
PR: bin/6140
Submitted by: Max Euston
1998-04-24 12:43:26 +00:00
des
ff658ec2b4
Updated references to the behaviour of ls(1).
...
PR: bin/6140
Submitted by: Max Euston
1998-04-24 12:38:18 +00:00
des
bcdc5b19bf
o Renamed '-b' (show unprintables in octal) to '-B'
...
o Added a new '-b' which behaves as in AT&T Unices (show unprintables in
octal, using C escape codes when possible)
o Added '?' to the getopt() string, since the code in the switch considers
it as a valid option.
1998-04-24 07:49:51 +00:00
des
300a9c59d4
Added -b option to display unprintables in octal.
...
PR: 1315
1998-04-21 22:02:01 +00:00
rnordier
172674fa35
Spelling/typo fixes: (preceeded, friday).
1998-04-20 21:06:38 +00:00
markm
d15437fa41
Rats. I was too quick. Work needs to be done on the non-Kerberos
...
case. Re-enable SUID mode.
1998-03-26 19:41:18 +00:00
markm
3a9399523b
KTH announced a weakness in their implementation of KerberosIV.
...
FreeBSD was not vulnerable, but their fix had some useful features.
Incorporate the best of those - rcp(1) no longer needs to be SUID
to root.
1998-03-26 18:15:00 +00:00
charnier
0a37457aa2
.Sh AUTHOR -> .Sh AUTHORS
...
Use .An/.Aq
1998-03-19 07:26:37 +00:00
jb
e521c29965
Some things only work on i386.
1998-03-13 19:41:06 +00:00
bde
68b354f908
Fixed existence test for secure sources (don't test for secure objects).
...
Fixed some formatting.
1998-03-06 16:05:18 +00:00
jraynard
6ed23116d6
Don't assume sigset_t and int are equivalent.
1998-02-28 10:50:02 +00:00
bde
e89d910e08
Exit with a nonzero status if we get killed by a SIGINT. POSIX.2
...
specifies exiting with a zero status if the file was copied
successfully, and with a nonzero status if an error occurred. We
are too sloppy to tell if the file was copied successfully when we
get killed by a SIGINT, but it is unlikely to have been. Added a
comment about related sloppiness (calling exit() from a signal
handler).
1998-02-24 01:45:05 +00:00
dima
ecf2a65e4c
Add 'f' flag to the optstring.
1998-02-18 22:49:58 +00:00
dima
3d91e52df3
cosmetic change for optstring
1998-02-18 22:45:22 +00:00
jdp
da208a2f3e
Explicitly describe the rules the shell uses to search for a file
...
sourced by the "." command.
1998-02-12 01:23:11 +00:00
eivind
5d7e7087eb
spelling
...
Obtained from: OpenBSD (src/bin/chio/chio.c rev 1.7) by todd@openbsd.org
1998-02-11 06:34:38 +00:00
asami
984a50716d
Fix printing for bytes read > 4G.
...
Reviewed by: bde
1998-02-11 02:23:31 +00:00
cracauer
db65bf7f7d
Back out my previous attempt to fix SIGINT/SIGTERM behaviour
1998-02-06 23:50:39 +00:00
cracauer
aa61e5bd0b
Fix handling of SIGINT/SIGQUIT for foreground subprocesses. Most
...
urgent need is when you run sh around a program that intentionally
uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from
system(2), like many mailers do. This fixes PR bin/1206 and possibly
bin/4241.
The solution committed has been tested for a large number of possible
cases (see recent discussion on cvs-committers). I completed a make
world, made sure 'make world' is interruptable and used the changed
/bin/sh as a login shell all day, including job control and using
SIGQUIT-catching programs (to write this message :-).
PR: bin/1206
Reviewed by: discussion on cvs-commiters
1998-02-06 18:14:26 +00:00
dyson
ccb56de039
Display VSZ much more accurately now.
1998-02-02 05:16:42 +00:00
steve
84be8ea54e
setpwent now has a void return type, so remove the now bogus cast.
1998-02-01 17:11:07 +00:00
jb
d708387107
Cast a size_t to a long to avoid a gcc warning.
1998-01-25 08:59:08 +00:00
bde
d194d95de3
Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
...
the default.
1998-01-20 10:40:18 +00:00
bde
b9518de314
Fixed syntax error in normally-unconfigured code in previous commit.
1998-01-17 13:39:29 +00:00
bde
f180157a7a
Fixed handling of short writes. Previously, we stopped copying and
...
printed a bogus warning with a stale errno if write() returns a short
count. Now we continue copying. We still print a bogus warning if
write() returns an "impossible" short count of 0.
1998-01-16 07:37:05 +00:00
jb
6bea153fe3
Make a couple of the stat flags dependent on the sys/stat.h header file
...
that this source is compiled against. This source is referenced by
install which is needed as a build tool and must be able to compile
against NetBSD headers and libraries if we have a hope of supporting
another architecture.
With this change, that's two working programs down and 3945 (?) to go.
The other one was make, but that didn't need any changes to work under
FreeBSD/Alpha. 8-)
1998-01-09 06:14:59 +00:00
joerg
bab3715aad
Oops, back out rev 1.5, it wasn't my intention to also commit the
...
-g. ;)
1998-01-07 22:32:28 +00:00
joerg
57f5863136
Use the correct value in the call to swab(3) with conv=swab. Previously,
...
dd if=/dev/zero of=/dev=null obs=23520 conv=swab
coredumped.
Please somebody review it, i'm not 105 % sure i'm understanding all
this mess correctly.
Detected by: Holm Tiffe <holm@geophysik.tu-freiberg.de>
1998-01-07 22:31:19 +00:00
steve
a5b6ea4a26
Correct a bogon in an example.
...
PR: 5415
Submitted by: Sergei S. Laskavy <laskavy@pc759.cs.msu.su>
1998-01-02 19:23:05 +00:00
helbig
6475ebfa0d
Ensure stdout is line buffered.
...
Change "pat" -> "re" in man page.
1997-12-31 12:25:35 +00:00
alex
e2001f3d57
Added $Id$.
1997-12-29 00:00:10 +00:00
hoek
b298ef3a0e
Use consistent spelling,
...
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize
Merry Christmas! :)
1997-12-25 09:36:42 +00:00
brian
837a0f22aa
Add (BSD) copyright headers.
1997-12-21 12:11:13 +00:00
bde
46543b887a
Don't strip trailing slashes (for the initial rmdir). It breaks
...
following of the symlink for `rmdir symlink/' and is unnecessary
for ordinary directories (POSIX doesn't require rmdir(1) to do
anything for trailing slashes; it requires rmdir(2) to let them
"refer to a directory", and following the symlink for symlink/ is
what BSD does). This also fixes bugs in the slash-stripping code
(for paths consisting entirely of slashes, the pointer into the
string was decremented to "before" the beginning of the string,
and the path was at best stripped to "".
The behaviour is unchanged except for the final directory for
`rmdir -p ...'. There is no alternative to stripping intermediate
slashes since they must be specified. The sloppy slash-stripping
code is adequate for intermediate directories, since the all-slashes
case fails early.
1997-12-19 20:20:22 +00:00
eivind
0be8b130cc
It's more portable to use <errno.h> than <sys/errno.h>
...
Pointed-out-by: bde (a long while ago)
1997-12-15 20:37:43 +00:00
eivind
6c2213bc00
Revert 1.15 - duplicate code (initialization).
...
Pointed-out-by: bde
1997-12-15 20:34:52 +00:00
eivind
50cb3dac0a
Make code slightly more robust towards change by calculating size
...
in-place.
Obtained from: OpenBSD ar_subs.c rev 1.7 by Tood Miller <millert@openbsd.org)
1997-12-12 18:38:22 +00:00
eivind
21388fca79
Make this lint more cleanly
...
Obtained from: OpenBSD file rev 1.4 by mickey
1997-12-12 18:24:17 +00:00
eivind
a208e260b6
Merge from OpenBSD:
...
>sprintf -> snprintf paranoia
Obtainted from: OpenBSD src/bin/stty/print.c v1.5
by Todd Miller <millert@openbsd.org>
1997-12-12 18:11:29 +00:00
brian
adbdb66926
Put [+format] at the end of the usage message.
...
Make `date -?' output (pretty much) the same as
the man page
PR: 5269
1997-12-11 02:38:56 +00:00
eivind
c4ec46a145
Remove simultaneous include of <sys/param.h> and <sys/types.h>.
...
Reorder includes to be alphabetical some places since I already was in
here.
1997-12-10 22:18:54 +00:00
eivind
a8d5a2b417
Merge from OpenBSD:
...
> Error out if someone tries to mv a mount point. Old behavior was to
> move all files contained in the mounted filesystem to the dest. dir
> which could be quite nasty. Personally, I think rename(2) should
> return EPERM or EINVAL instead of EXDEV.
Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller <millert@openbsd.org>
1997-12-10 17:52:49 +00:00
wosch
fc347cdbdd
Add -P option to cp(1) for local to local copying.
...
Pointed out by: bde
1997-12-08 21:02:36 +00:00
wosch
73b7942260
Use cp -R' instead
cp -r' for local to local coping
...
(e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details.
1997-12-07 20:49:39 +00:00
peter
f0591a8334
Move procctl to the Attic, it's been copied to usr.sbin/procctl as
...
suggested by bde via sef.
1997-12-07 02:26:23 +00:00
sef
ea6ab04053
Add procctl to the list of programs built.
1997-12-06 04:19:41 +00:00
sef
5b7f0945bd
First checkin of the procctl program.
1997-12-06 04:19:09 +00:00
dyson
44ee994858
Document the new -f flag.
...
PR: 5196
Submitted by: Matt Dillon <dillon@best.net>
1997-12-05 07:35:31 +00:00
dyson
7df966457d
Add an option to building PS, so that the upages are explicitly paged in only
...
for users who are root, or in group wheel. This is useful on large timesharing
systems where a PS command can cause the system to grind to a halt. The
ability to get the information isn't diminished for those who really need the
additional detail (administrators.) Normal users won't see any difference unless
the processes are swapped out. The "really get it mode" is invoked by the
use of an additional flag in the command string "-f". New/old behavior is
selectable with a compile option.
PR: 5196
Submitted by: Matt Dillon <dillon@best.net>
1997-12-05 07:33:40 +00:00
julian
857944f486
Reviewed by: hackers@freebsd.org in general
...
Obtained from: Whistle Communications tree
Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.
1997-11-13 00:28:51 +00:00
jdp
12fb41efaf
Document the exit status for a command that was terminated by a
...
signal.
1997-11-12 04:32:50 +00:00
joerg
297798c1ce
Sort "sparse" into alphabetical order, since dd's `conv' options need
...
to be sorted. This temporarily broke the "osync" option.
1997-11-11 20:35:29 +00:00
bde
a7f8a3e8cf
Fixed some type and value mismatches. setsignal() returned a bogusly
...
cast value that was always ignored. Rev.1.9 of trap.c made this
more bogus by returning a semantically different value after calling
siginterrupt(). Avoid these problems by not returning a value.
1997-11-10 11:32:24 +00:00
ache
ae5a7dcd2a
1) Fix longstanding bug:
...
trap 'echo xxx' 1 2 3 15
read x
is not interrupted by ^C (due to restartable read syscall) and must be
interrupted per POSIX
Worse case:
read -t 5 x
hangs forever after ^C pressed (supposed to timeout after 5 secs)
Fixed by adding siginterrupt(signo, 1) after catch handler installed
2) Do not reinstall sighandler immediately after it is called,
BSD do it for us
1997-11-05 23:33:58 +00:00
helbig
d1daf1db6b
Synchronize usage() and man page.
...
Pointed out by bde.
1997-10-26 10:33:02 +00:00
joerg
d5c4ec3e13
Style police: keep a variable list in alphabetical order, and add
...
pointless paren's to return statements.
Nitpicked by: bde :)
1997-10-13 09:36:05 +00:00
joerg
1b24b4825c
Make df(1) exit with non-success status if something went wrong.
...
PR: bin/4415
1997-10-12 13:55:43 +00:00
joerg
5c77337149
Teach dd(1) about an option to write sparse files. Can be useful for
...
things like diskless clients' swap files etc.
Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
stylistic changes by me)
1997-10-11 20:09:05 +00:00
eivind
75a047687a
Un-clobber mktemp->mkstemp patch.
1997-10-09 11:05:16 +00:00
eivind
6d44abe78c
Add <sys/errno.h>
1997-10-09 10:50:54 +00:00
eivind
ee25b29d4c
make signal handlers errno safe
...
Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
1997-10-08 14:47:56 +00:00
eivind
4744f1f336
mktemp -> mkstemp
...
Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
1997-10-08 13:46:39 +00:00
eivind
fb49e457d9
make signal handlers errno safe
...
Obtained from: OpenBSD (file rev 1.5) Theo de Raadt <deraadt@openbsd.org>
1997-10-08 12:59:14 +00:00
eivind
344e8d0e61
Slightly improved fix compared to my insiration
...
don't munge argv strings -- copy them first. avoids 'w' showing:
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs
Obtained from: OpenBSD (file rev 1.3) by Theo de Raadt <deraadt@openbsd.org>
1997-10-08 12:10:33 +00:00
eivind
26df0a19cb
save errno in sigchld handler
...
Obtained from: Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)
1997-10-07 16:43:16 +00:00
eivind
744cd933d8
vsprintf -> vnsprintf paranoia.
...
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)
1997-10-07 16:33:22 +00:00
eivind
8410f47438
Don't honor $HOME if >= MAXPATHLEN
...
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)
1997-10-07 16:27:48 +00:00
jkh
068b44c29a
Changes to support full make parallelism (-j<n>) in the world
...
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
wosch
86d58e0a84
mv(1) is too silent if used with the option -i. It should
...
print which input mv(1) expect (y/n) and print a warning if the
file was not overwritten.
1997-10-04 13:02:06 +00:00
wosch
e53e79b37b
cp(1) is too silent if used with the option -i. It should
...
print which input cp(1) expect (y/n) and print a warning if the
file was not overwritten.
1997-10-03 18:11:14 +00:00
wosch
904738b58e
Change example from US to international standard date notation.
1997-10-03 18:09:17 +00:00
danny
cbff58d6bc
Back out suppress '\n' mod.
1997-10-03 12:54:30 +00:00
danny
8ce13b34be
Add the '-s' flag to the usage string.
1997-10-01 05:44:35 +00:00
danny
4c92f69a4e
Add the ability to supress the '\n' at the end of the date printed.
1997-10-01 05:24:08 +00:00
joerg
5880f26f4a
Fix the broken `date HHMM.SS' handling.
...
PR: bin/4661
Submitted by: blank@sliphost37.uni-trier.de (Sascha Blank)
1997-09-30 20:06:15 +00:00
msmith
a8fc4c3cfd
Add the '-t timeout' option to the 'read' builtin. This allows the
...
'read' command to return an error if the user fails to supply any
input withink a given time period. The behaviour of this option is
similar to that of the like-named option in ksh93.
Reviewed by: joerg
1997-09-29 15:15:16 +00:00
wosch
02693e70ee
Endless loop.
...
$ touch from to
$ echo -n loop | mv -i from to
overwrite to?
^C
1997-09-28 10:41:40 +00:00
markm
6158da1e2c
Change to use the new KTH Kerberos.
...
Also make -Wall a bit quieter.
1997-09-28 08:32:59 +00:00
charnier
23d24985c5
environmental -> environment.
1997-09-18 06:55:21 +00:00
sef
3f4ecb9abf
Fix sorting of directories when doing '-d'.
...
PR: bin/4558
Submitted by: Keith Bostic
1997-09-18 06:42:27 +00:00
wosch
54d8c50f0f
PR: docs/4449
...
The -c flag is not documented in the sh(1) manapge.
Submitted by: adrian@virginia.edu
1997-09-13 17:40:00 +00:00
wosch
07b6e5147d
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
jkh
a51f9b61c5
This command doesn't need to be setuid root, it's only asking
...
for potential trouble.
Reviewed by: security officers.
Noted by: OpenBSD
1997-09-12 15:00:06 +00:00
jmg
660dbd5861
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4427
1997-08-30 11:09:26 +00:00
jmg
052becb1b0
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4425
1997-08-30 11:06:35 +00:00
sos
ea66721f74
Dont have an internal function named "warn" it clashes with libc..
...
Needed for ELF.
1997-08-29 16:12:30 +00:00
bde
0eb66ca5d4
Restored clobbered parts of rev.1.15 (build intermediate object files
...
for tools).
1997-08-25 19:50:01 +00:00
steve
50095e5063
Correct confusing error message when called as 'stty -sane'.
...
PR: bin/3573
1997-08-24 00:26:12 +00:00
jlemon
e29b9f2a95
Disallow empty arguments (eg: '') as process ids.
...
PR: 2631
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-08-21 21:34:43 +00:00
jlemon
b5bff2d390
Document correct option in manual page.
...
PR: 3769
Submitted by: johnp@lodgenet.com
1997-08-19 21:52:07 +00:00
jlemon
d97633dae5
Pad the input buffer whenever sync is used, not just if the noerror flag
...
is also set.
Change osync to not to tack on an empty block if the input buffer is null,
or an even multiple of the blocksize.
Also change osync to pad the output with nulls/spaces depending whether
this is a block-oriented conversion or not (same as sync).
PR: 3818
1997-08-19 19:46:18 +00:00
brian
9146b289a0
Hint at how to use TZ.
...
Submitted by: grog@lemis.com
1997-08-18 20:27:17 +00:00
steve
22b163c85c
Make all status values an integral type and use
...
pid_t when referring to process IDs.
1997-08-18 02:53:20 +00:00
steve
89684c8d1d
Use -I${.CURDIR}/../../sys so that the path is relative
...
to the source code directory.
Submitted by: bde
1997-08-13 17:35:00 +00:00
ache
9cbbd6ae9a
Describe signals behaviour now
1997-08-12 21:20:12 +00:00
steve
532601c3fa
Oops, add #include's (forgotten in last commit) to make this
...
compile again.
1997-08-11 02:41:02 +00:00
steve
020120ed08
Use -I../../sys instead of -I/sys.
1997-08-11 02:36:09 +00:00
steve
7b560b7a4e
Remove #ifdef NEWVM code and remove extra "key.name = p" line.
1997-08-11 02:35:16 +00:00
steve
aae937eff0
Fix seg fault when invalid keywords are used.
...
PR: bin/4253
Submitted by: Jesse Rosenstock <jmr@ugcs.caltech.edu>
1997-08-11 02:29:50 +00:00
brian
746007b347
Remove forgotten debug statement.
1997-08-10 16:37:33 +00:00
brian
d334587489
Add "-f fmt date" for specification of the
...
date using strptime(3).
Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au>
Change mm & dd to MM & DD so that they don't
clash with the month.
1997-08-10 16:36:59 +00:00
brian
ef21231dab
Change [-DMHW [+|-]val] to [-v [+|-]val[ymwdHM]]
...
Support Hours & Minutes
Add -Wall to Makefile
1997-08-09 22:34:06 +00:00
steve
01a5cf81b2
More minor nits (mostly using memove instead of memcpy).
1997-08-08 00:54:05 +00:00
steve
585db0146c
More $@ -> ${.TARGET} that I missed earlier.
1997-08-08 00:49:25 +00:00
steve
408512212b
Observe precedence set by Philippe Charnier when adding an
...
rcsid.
1997-08-07 22:33:01 +00:00
steve
80cf4d73ac
Observe precedence set by Phillippe Charnier in adding an
...
rcsid.
1997-08-07 22:28:25 +00:00
steve
713c6724dc
Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
...
register keyword, and -Wall cleaning.
Obtained from: similar changes in NetBSD
1997-08-07 21:42:17 +00:00
steve
c3b9042311
Remove remaining Lite1 stuff from the man page and uphold the
...
precedence in changing sccsid to rcsid as set by Phillippe
Charnier in his previous 100 or so commits.
pointed out by: Bruce Evans <bde@zeta.org.au>
1997-08-07 21:37:39 +00:00
steve
01577a711e
sccsid -> rcsid and fix some minor nits.
1997-08-07 21:33:47 +00:00
steve
e669ca458a
Add Bruce's _NEW_VFSCONF flag to make this compile cleanly and
...
sccsid -> rcsid.
1997-08-07 21:31:00 +00:00
steve
95a03d9465
#include <err.h> for err(3) call and replace extern reference to errno
...
with #include <errno.h>.
1997-08-07 15:41:51 +00:00
steve
1a8069828d
Remove #if(n)def BSD_4_4_LITE cruft and change sccsid to rcsid.
1997-08-07 15:37:47 +00:00
steve
73c33f0d68
Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.
1997-08-07 15:33:50 +00:00
brian
975304387a
Add [-DWMY] flags for date adjustment.
...
Discussed with: freebsd-hackers
1997-08-04 03:37:07 +00:00
peter
4798973d71
Fix "lstart". (Displays "19" rather than time)
...
PR: 4206
Submitted by: Tetsuya Furukawa <tetsuya@secom-sis.co.jp>
1997-08-03 08:33:17 +00:00
peter
c8da6d7fe6
Kill #ifndef NEWVM etc. It affected a lot of other things besides
...
VM structure (eg: credentials etc) and it's highly unlikely we'll ever
get to see the "tainted" BSD<=4.3 VM code in public use. Although it
indicated the way some things used to be done, it obfuscates things too
much.
1997-08-03 08:25:01 +00:00
bde
d04c5a7006
devname.c moved to libc before Lite1 and isn't in ps in Lite2.
1997-07-13 07:43:41 +00:00
bde
25e5e74d95
Bury this properly.
1997-07-01 21:38:49 +00:00
bde
6b0f21cbdc
This commit was generated by cvs2svn to compensate for changes in r27159,
...
which included commits to RCS files with non-trunk default branches.
1997-07-01 21:34:30 +00:00
bde
9eac363061
Import this unwanted file from Lite-original so that it doesn't
...
get imported with Lite2 (there was only one missing file in src/bin,
other than tags files and obj links).
1997-07-01 21:34:30 +00:00
charnier
ac2d4da5ec
Remove lines inside #ifdef 0/#endif.
1997-06-30 11:10:18 +00:00
pst
c22f14d51d
NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
...
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
charnier
288769b4a5
Document the use of `ls -lo' to see flags.
...
Obtained from: OpenBSD.
1997-06-24 06:57:11 +00:00
jkh
16d9f14824
Back out previous fix - this bug's got diplomatic immunity as a registered
...
political issue.
1997-06-19 17:57:06 +00:00
jkh
2f48b69844
>Number: 3780
...
>Category: bin
>Synopsis: WEXITSTATUS() may return nagative value, which causes sh to generate bad $?
PR: 3780
Submitted by: sanewo@ba2.so-net.or.jp
1997-06-19 15:14:01 +00:00
jdp
5474a30c22
Try again to explain the existence of lchown() and the absence of
...
lchmod() and lutimes().
1997-06-19 01:07:05 +00:00
jdp
9657538f4e
Update some text to reflect the fact that symbolic links now have
...
owner and group attributes.
1997-06-14 18:44:03 +00:00
ache
e5521aff5f
Now [^abc] means the same as [!abc] like bash and *csh already does
1997-06-06 23:04:33 +00:00
charnier
df15606acb
Typo in usage string. Looks like the man page now.
1997-06-06 06:48:35 +00:00
charnier
868b27768e
Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endif
...
to hide this so libc is kept instead.
1997-06-06 06:46:27 +00:00
charnier
5dd7b88ddb
Correct usage string. Man page don't reflect reality for now.
1997-06-06 06:43:19 +00:00
charnier
3f6611f8d3
Cosmetic change in usage string.
1997-06-06 06:40:06 +00:00
charnier
efc4145bcf
Do not use __progname.
1997-06-06 06:32:09 +00:00
charnier
c9aaab1f2a
Revert part of previous patch: Don't use __progname.
1997-06-04 06:27:30 +00:00
charnier
3e75767b30
Revert part of previous patch: Don't use __progname.
1997-06-04 06:21:44 +00:00
charnier
401decf3fc
Add xref to lchown(2) and symlink(2).
...
Obtained from: {Net|Open}BSD
1997-06-03 06:27:44 +00:00
charnier
10249d98be
Signal # NSIG (32) is invalid.
...
Obtained from: {Net|Open}BSD
1997-06-03 06:24:50 +00:00
charnier
e541d40ac8
/etc/netstart -> /etc/rc.network
...
Use __progname in usage string. Change usage string to match the man page.
1997-06-03 06:21:45 +00:00
charnier
815b0475b4
/etc/netstart -> /etc/rc.network
...
Add usage() and use __progname. Change usage string to match man page.
1997-06-03 06:19:04 +00:00
max
f3827d8ae6
Add X-reference to ch(4).
1997-06-02 20:57:52 +00:00
charnier
4e0c9ceb80
Typo fix.
1997-06-02 06:40:08 +00:00
charnier
37f3c23139
Typo (the the -> the).
1997-06-02 06:32:26 +00:00
charnier
e71816b9ce
Off by 1 adjustment. Properly NUL terminate after strncpy.
...
Obtained from: {Net|Open}BSD
1997-06-02 06:30:06 +00:00
charnier
6bd40f99ef
Off by 1 adjustment.
1997-06-02 06:27:00 +00:00
charnier
16e92ea4c7
Remove unused variables. Suppress -Wall warnings. Check for potential buffer
...
overflow. Display available command in usage string.
Obtained from: {Net|Open}BSD
1997-06-02 06:25:19 +00:00
julian
900c29f67a
Submitted by: Whistle Communications (archie Cobbs)
...
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.
This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
steve
77dc61551a
Make sh(1) less aware of the bit fields returned by wait by
...
using the WIF* macros in sys/wait.h.
PR: bin/3668
Submitted by: dholland@eecs.harvard.edu
1997-05-24 21:04:55 +00:00
steve
de0e0cfad3
Remove y.tab.h from the beforedepend target. Also add a
...
rule that shows the dependency of arith_lex.[co] on y.tab.h.
Suggested by: Bruce Evans <bde@zeta.org.au>
1997-05-21 03:23:23 +00:00