Commit Graph

2291 Commits

Author SHA1 Message Date
jkoshy
94a58195db Allow `w' to treat a corrupted "utmp" as a non fatal error.
PR: bin/2832
1998-05-14 10:13:24 +00:00
phk
08f9a08eb7 .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
PR:		6599
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
jb
7abe32bd17 Fix broken (at least on alpha, but probably on i386 too) code which
is supposed to walk an arry of character pointers, not an array of
characters.
1998-05-13 05:50:42 +00:00
wosch
504b72c81c Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
bde
4b408b42d7 Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
wollman
287838384b Fix my last change: the .Fx macro doesn't do anything useful without an
argument, so use `.Tn FreeBSD' instead.
1998-05-09 21:39:49 +00:00
wollman
c1b219a460 Documentation fix: delete references to T/TCP as they are not relevant
to the case in question.  (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
1998-05-09 20:50:37 +00:00
des
cb0e60513d Arrggghhhh... forgot to strip the / after outputting %2f 1998-05-09 08:56:07 +00:00
des
4da77110b7 Map a leading / in -c argument to %2f instead of dropping it silently.
PR:		bin/6558
1998-05-09 08:41:23 +00:00
fenner
868ea92b09 Describe absolute paths in FTP URL's. This patch has been sitting
around uncommitted for 2 months =(
1998-05-09 07:33:09 +00:00
max
c1f13f4783 In the SEE ALSO section, {get,set}rlimit are said to be in the section
3 which are actually in the section 2.
Pointed out by:	Brian Reichert <reichert@numachi.com>
PR:		6480
1998-05-08 14:46:23 +00:00
bde
ec3dc0a095 Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated.  It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00
bde
632ba498b7 Put y.tab.h back in SRCS. This used to be the best way to get
dependencies on y.tab.h generated.  It will soon be used to tell
bsd.dep.mk that y.tab.h itself needs to be generated.
1998-05-05 13:00:26 +00:00
charnier
953cc90b5d Add usage() and rcsid. Remove unused #include. -Wall. 1998-05-05 06:13:47 +00:00
alex
ff65aa7a6b Permit double digit year values to be used in the next millenium. 1998-05-05 01:53:15 +00:00
rnordier
2710d5194e Make compatible with standard what command:
Implement -s option
    Keep going if a file is not found
    Append ':' to printed filenames
    Include backslash in terminal characters
    Make exit status dependent on a match having been found
    Revise manpage accordingly
1998-05-04 22:26:56 +00:00
bde
6a77e9f036 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
bde
5c3f2f0e58 Simplified by using new yacc rules and by not generating y.tab.h. 1998-05-04 19:25:41 +00:00
bde
a0c7a9ec00 Simplified by using new yacc rules. The new lex rules can't be used
here, at least without ifdefs for the bootstrap.
1998-05-04 19:10:20 +00:00
bde
108d85b33a Simplified using new yacc rules and by not generating y.tab.h. The
lex source is still handled bogusly.
1998-05-04 18:40:18 +00:00
steve
5cceedd3e5 Be picky about the format of the commandline and cleanup
a warning related to qsort.

PR:		6420
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-03 23:22:37 +00:00
steve
3bb3e82e56 Add the year to the 'wtmp begins...' line.
PR:		6421
Submitted by:	phk
1998-05-03 23:19:15 +00:00
steve
14cda8a8e5 Remove (now) invalid .Xr trsp 8
PR:		6494
Submitted by:	Don Morrison <dmorrisn@u.washington.edu>
1998-05-03 21:34:34 +00:00
peter
9644fbf7f9 Update for bind-8 1998-05-03 05:16:58 +00:00
dfr
defbb23e55 Add ELF support. 1998-05-01 08:40:11 +00:00
peter
5ecc2bcb6f *blush*, typo during last minute editing.. 1998-04-30 16:50:07 +00:00
peter
292467d8ec Change euid while reading the user's .login_cap file in case the homedir
is on a NFS partion without root read access.  Also, flip euid again for
the duration of the chdir() to the homedir for the same reason.

PR: 5145
Submitted by: Joel.Faedi@esial.u-nancy.fr
Also tested by: A Joseph Koshy <koshy@india.hp.com>
1998-04-30 16:48:20 +00:00
ache
513e2538f0 Use NL_CAT_LOCALE to activate LC_MESSAGES 1998-04-30 12:49:11 +00:00
ache
da5315daa0 Add (unsigned char) cast to ctype macros 1998-04-30 10:31:38 +00:00
ache
d7cdb27330 Make 'y' command 8bit clean
PR: 6458
1998-04-29 21:58:36 +00:00
imp
7f9a158a80 Use historically correct error message in some cases, optionally. 1998-04-28 05:08:10 +00:00
des
6f2ba5fbe5 Check that user really typed "who am {I,i}", and that no stray
arguments are given.
Note that usage() and the manpage disagree...

PR:		bin/6294
Suggested by:	Ruslan Ermilov and Bruce Evans
Submitted by:	Ruslan Ermilov (partly)
1998-04-26 19:10:51 +00:00
bde
dc8537950a Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.
1998-04-26 16:31:14 +00:00
phk
18c0707128 When all transformation rules to or from a suffix disappeared, make tries
to free the suffix. I think, it is a very strange idea. (Or, maybe, it is a
POSIX requirement?) And it is done incorrectly. Apparently, it even don't
update the list of known suffixes (but it is an other bug).

PR:		4254, 4692, 4783
Reviewed by:	phk
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-04-26 09:44:48 +00:00
phk
34e4d2ab89 fix ncal.1 grammar
PR:		6394
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-04-26 06:21:29 +00:00
dg
8f97204a02 Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
sysctl variable (previously committed).
1998-04-24 04:30:27 +00:00
phk
e20f84d7f4 netstat truncates info in sockaddr* between kgetsa and p_sockaddr
by dereferencing pointer to smaller structure

PR:		5256
Reviewed by:	phk
Submitted by:	Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>
1998-04-22 06:54:31 +00:00
eivind
982944a58a Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
eivind
b8bdedb855 Make brandelf test for known brands, and introduce a '-f' option to
bypass the testing.

Partially submitted by:  Brian Feldman <green@feldman.dyn.ml.org>
1998-04-21 02:31:09 +00:00
joerg
4b1ab3a2e4 Define '\t' as a printable character, so it can be displayed on the
screen.  isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.
1998-04-20 13:37:29 +00:00
charnier
0215055f80 Correctly operate on hardlink when source and destination are not on the same
device.
PR: bin/3158 (part 2)
1998-04-20 06:20:24 +00:00
phk
40fc7e350b Like most Unices FreeBSD should have a larger tty field at least
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?

(We should probably report the tty/cua prefix then as well ? /phk)

PR:		4187
Reviewed by:	phk
Submitted by:	Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
phk
151e7036ce The current version of netstat does not print the interface
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR:		4182
Reviewed by:	phk
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
phk
3ef02545fb Ctags write to buffer beyond the end of it when the source file
doesn't end with '\n'. It brings segmentation fault.

PR:		4812
Reviewed by:	phk
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
phk
a9dfe0119a mt should report the compression status.
PR:		5276
Reviewed by:	phk
Submitted by:	Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
danny
78969c34a5 PR: 4866
Submitted by:	fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
peter
65d7e2b457 Add mktemp directory 1998-04-14 07:40:47 +00:00
peter
404009d8d5 Bring in an old faithful tool I've been using for just over 4 years now
(originally on a different OS without mkstemp()), albeit somewhat
bashed and hacked into something that doesn't look too much like
the original any more.  It should be upwardly compatable with
OpenBSD's mktemp(1) but does a couple of extra things.

I've taken OpenBSD's mktemp.1 man page and adapted it to suit.
1998-04-14 07:39:57 +00:00
phk
a0a88a95cd Better SYNOPSIS
PR:		6294
Reviewed by:	bde, phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
phk
95c8e5625b add strings(1) to what(1) "SEE ALSO"
PR:		6289
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00