Commit Graph

2272 Commits

Author SHA1 Message Date
steve
33ffab8aa4 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
a0bf7cf6b6 Add the year to the 'wtmp begins...' line.
PR:		6421
Submitted by:	phk
1998-05-03 23:19:15 +00:00
steve
b62764e4ba 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
d835322e55 Update for bind-8 1998-05-03 05:16:58 +00:00
dfr
f28fdede6f Add ELF support. 1998-05-01 08:40:11 +00:00
peter
4535454511 *blush*, typo during last minute editing.. 1998-04-30 16:50:07 +00:00
peter
0534b5c829 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
2c460ce94b Use NL_CAT_LOCALE to activate LC_MESSAGES 1998-04-30 12:49:11 +00:00
ache
3462ea1e26 Add (unsigned char) cast to ctype macros 1998-04-30 10:31:38 +00:00
ache
854c44e14a Make 'y' command 8bit clean
PR: 6458
1998-04-29 21:58:36 +00:00
imp
80f5545693 Use historically correct error message in some cases, optionally. 1998-04-28 05:08:10 +00:00
des
b7cdb32ea9 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
ddb80fc7dd 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
13f19b6005 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
188299fe30 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
abb0f6fda9 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
d11d4df3a2 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
2a80c88a1e Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
eivind
c8cdab147c 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
41f2b5a06e 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
70fabc443b 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
30a62a3f70 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
6dffba718f 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
01f3719f2f 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
100f9b99a0 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
fdf7addba7 PR: 4866
Submitted by:	fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
peter
88d08c78f7 Add mktemp directory 1998-04-14 07:40:47 +00:00
peter
9996027f00 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
ced7ca4b35 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
72bef97abd 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
steve
c056e50072 Document the use of sendmail options on the commandline.
PR:		4778
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
steve
e7ef89f59e Don't let secs variable wrap if <= 2.
PR:		6290
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
peter
7c3222498a Add a new -F flag which is a superset of -f. It will cause tail to
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated.  This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.
1998-04-06 16:13:49 +00:00
charnier
fe8f3a58ea Prevent rdist from dumping core: do not free() pointer before using it.
Add rcsid. Document -D flag (debug mode). Remove unused includes.
PR:bin/3158 (part 1)
1998-04-06 06:18:32 +00:00
danny
4fb6c831df PR: bin/6193
Submitted by:	Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
markm
ff4953fbcc Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.
1998-03-26 19:43:06 +00:00
markm
37c04b1be1 Quite a while back KTH (who are the good folks who wrote our KerberosIV)
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
markm
c99468d1f8 Remove unneeded crud. 1998-03-26 17:55:27 +00:00
eivind
0954aa00b4 Remove special global tags support; we don't do it that way anymore. 1998-03-26 16:12:14 +00:00
jb
021631b797 Ouch, that nm is aout which is not alpha-friendly. Make it i386
specific.
1998-03-24 01:43:45 +00:00
bde
d3106031d1 Ifdefed conditionally-unused variables. 1998-03-23 14:14:24 +00:00
charnier
409a50cddf .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
charnier
a5e89829a6 Add rcsid. Sort #includes. 1998-03-23 07:47:31 +00:00
charnier
750ab90255 Add const to rcsid. 1998-03-23 07:46:23 +00:00
charnier
10361cb9b6 .Nm nice -> .Nm. 1998-03-23 07:45:40 +00:00
charnier
b56244b975 Add rcsid. Correct -Wall warning. 1998-03-23 07:41:49 +00:00
steve
a4f109814d Reword using who.1 as a good example of where to start.
Submitted by:	bde
1998-03-22 17:39:08 +00:00
jb
d85ca411dd Remove a bunch of unsupported machines, and the 'other' case where
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
1998-03-22 08:55:28 +00:00
peter
d0a0b2bbfb merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
bde
d172708658 Honour -static in LDFLAGS.
Install using ${INSTALL}, not `install'.  Install generated files using
${COPY}, not -c.  Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00