Commit Graph

1023 Commits

Author SHA1 Message Date
Bruce Evans
d4aa237228 Print times/call in ns if hz >= 10e7. hz will be this large for high
resolution profiling on Pentiums.  On a 100MHz Pentium, the resolution
is at best 10 ns and actually a few hundred ns, but units of 10's or
100's of ns would be inconvenient and the current units of 1 us are a
bit too coarse.
1996-06-08 12:29:57 +00:00
Alexander Langer
4c0c227d97 Fix exit code when used in non-interactive mode.
Remove ';' typo attached to if statement.
1996-06-08 04:30:06 +00:00
Alexander Langer
bc720a3061 Add units. 1996-06-08 03:46:33 +00:00
Alexander Langer
8deaab2376 This commit was generated by cvs2svn to compensate for changes in r16186,
which included commits to RCS files with non-trunk default branches.
1996-06-08 03:43:43 +00:00
Alexander Langer
a303171509 Units conversion utility courtesy of NetBSD.
Submitted by:	Jeremy Prior
Obtained from:	NetBSD
1996-06-08 03:43:43 +00:00
Julian Elischer
ce1355d54c I guess the docs should mention the new protocol at least once. 1996-06-08 00:54:18 +00:00
Julian Elischer
63bf4575db patches to allow netstat to monitor appletalk sockets openned using the
/sys/netatalk protocol stack

more cleanups and fixes are likely
1996-06-08 00:20:42 +00:00
Andrey A. Chernov
938954d97e Add yet one holiday 1996-06-07 15:53:44 +00:00
Garrett Wollman
759b7d75fb Print PCB hash miss statistic. 1996-06-05 17:24:33 +00:00
John Fieber
44842f599e Upgrade from 1.1 to 1.1.91. Unknown to me, the latter version was
actually available at the time I brought in the former.
Lots of assorted bug fixes and much needed support for catalogs.
1996-06-04 19:09:50 +00:00
Alexander Langer
7d56c0ee6b Code cleanup: remove unused variables, use correct *printf format
specifiers (some unsigned values were printed as signed, some longs
were printed as ints), and place parentheses around assignments in
if statements.
1996-06-02 23:19:12 +00:00
Poul-Henning Kamp
1d95dc910b Backout yacc changes. 1996-06-02 17:22:01 +00:00
Bruce Evans
b68933975f Finished yacc rules changes. 1996-06-01 13:39:23 +00:00
Poul-Henning Kamp
ff8830e331 yacc rules change. 1996-05-30 23:09:11 +00:00
Poul-Henning Kamp
82931d49f9 yacc rule changes. 1996-05-30 23:05:55 +00:00
Poul-Henning Kamp
ff0912e2fd yacc changes. 1996-05-30 23:03:00 +00:00
Poul-Henning Kamp
fb808b4cb8 yacc rules change. 1996-05-30 22:48:22 +00:00
Sujal Patel
a69836c197 Allow multiple process names to kill (i.e. 'killall ftpd inetd httpd')
Submitted by:	smpatel, wosch
Reviewed by:	wosch
1996-05-30 22:04:09 +00:00
Paul Traina
abe67e41f6 Remove obsolete SOCKSv4 support 1996-05-30 03:09:18 +00:00
Paul Traina
ad9b7e5685 1. Remove SOCKS support (unneded with SOCKS v5 port)
2. Update quarantine port support to use new kernel mechanism.
1996-05-30 03:08:17 +00:00
Paul Traina
66e5b18f29 Drop privileges if not using standard namelist or kernel file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
Paul Traina
73c00cf43f Setgid kmem not required.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:19:03 +00:00
Paul Traina
661a5e433a Drop privileges if we're not reading standard kernel file or namelist.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:18:44 +00:00
Joerg Wunsch
33bb39cd50 Make it more explicit in the main help window that the magic to leave
`ee' is ``ESC-Enter''.  This supposedly fixes the biggest complaint
about it. ;)

(I hope ``ESC-Enter'' ain't too anglicistic in the French text...)
1996-05-27 21:00:06 +00:00
John Polstra
a49b055f5c Fix a bug in the mbufs display, seen when there was a large number
of mbufs in use.  If the number reached, e.g., 4 digits, then later
decreased to 3 digits, the last digit of the 4-digit number was
not erased.  This caused the display to show a wildly high number of
mbufs in use.
1996-05-27 17:47:09 +00:00
Marc G. Fournier
94e99b9ffa Changed printf for reporting transfer stats from using %.2g to %.2f to
get rid of "scientific notation" reporting (PR#bin/329)

Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
Joerg Wunsch
7439849253 The rs(1) command dumps core with the -s option (SIGSEGV)
(Fix a rangecheck condition.)

Closes PR # bin/1244: rs(1) dumps core with -s
1996-05-26 18:26:55 +00:00
Bill Paul
a7aa11b1a0 Fix the -l flag. For some reason I can't fathom, I left in some code
that would cause it to fail if anyone but the superuser tried to use it.

Also fix a couple of harmless typos since I'm in the area.
1996-05-25 01:05:17 +00:00
Wolfram Schneider
d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Wolfram Schneider
e646d2895a remove NLSDIR=${DESTDIR}/usr/share/nls, already defined in bsd.own.mk
unlink gencat(?) target before install, so gencat don't fail
if target is readonly and you are not root
1996-05-22 00:21:50 +00:00
Garrett Wollman
70967c1c28 Correct usage message.
Submitted by:	 Faried Nawaz <fn@pain.csrv.uidaho.edu>
1996-05-20 15:54:10 +00:00
John Fieber
93f6fc9b23 Small patch from James Clark, fixes underscore handling in the SGML
declaration parsing.
1996-05-20 05:06:47 +00:00
Mike Pritchard
fd0ca8903b Convert f2c.1 to mdoc format.
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1996-05-15 20:27:10 +00:00
John Fieber
95bb3b9747 Fix a few HTML 2.0 violations. 1996-05-15 17:05:17 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Andrey A. Chernov
0ec972ee91 Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
Andrey A. Chernov
2089d0009e Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
Andrey A. Chernov
6dc9ac1426 Describe russian calendar 1996-05-10 22:26:02 +00:00
Andrey A. Chernov
d15a8f58a4 Add russian data handling 1996-05-10 21:39:38 +00:00
Andrey A. Chernov
733a717c7d Russian calendar 1996-05-10 21:36:56 +00:00
Andrey A. Chernov
9d0a521e31 Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
Andrey A. Chernov
ebf0ec62f5 Fix typing error 1996-05-10 17:36:33 +00:00
Andrey A. Chernov
7f7d4bbe18 Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
Andrey A. Chernov
ab5dc10734 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Bill Paul
5741059082 In use_yp(), call _yp_check() to make ultra, super-duper sure that NIS
is available before trying to go hunting for a domain name. This fixes
the following problem: you have +::::::::: in /etc/master.passwd but
NIS isn't running (no ypbind, no domain name set) -- passwd and chpass
will still try to change an NIS password instead of the local one.
1996-05-07 21:05:12 +00:00
Jordan K. Hubbard
bb6ed1e245 Correct an editing bogon I introduced earlier. 1996-05-04 10:25:03 +00:00
Jordan K. Hubbard
0cef8c965e Look conditionally in obj/ for mktoasc. 1996-05-03 03:15:58 +00:00
Poul-Henning Kamp
875c5798b6 NBPG -> PAGE_SIZE 1996-05-02 09:10:21 +00:00
Joerg Wunsch
c584e0e88a Correct a typo.
Submitted by:	mbarkah@hemi.com (Ade Barkah)
1996-04-30 05:20:32 +00:00
Joerg Wunsch
8905131422 Implement keyinfo(1) as a setuid Perl script, so /etc/skeykeys can
be made mode 0600.

Pointed out by: kieber@sax.de (Ulf Kieber)
Reviewed by:	pst
1996-04-26 21:35:11 +00:00
Andrey A. Chernov
9137242c2c Oops, restore missing piece of previous commit. 1996-04-25 18:14:11 +00:00
Andrey A. Chernov
cc8c038449 Treat ^end<EOF> as valid terminator (like ^end\n), some encoders (f.e. Eudora)
produce such things.
1996-04-25 14:49:40 +00:00
Paul Traina
d9fd44dd79 Add support for SOCKS if enabled.
Remove a useless bind() call (why did that ever get in there?)
1996-04-23 06:01:10 +00:00
Paul Traina
33bb8564be Add support for socks 1996-04-23 05:18:43 +00:00
Sujal Patel
003aaef883 Fix a segfault which occurs when it gets an empty input line.
Closes PR bin/1153

Reviewed by:	smpatel
Submitted by:	Matthew C. Mead (mmead@Glock.COM)
1996-04-22 18:37:22 +00:00
John Polstra
d1157e5d90 Update an offset field for i386 a.out core files, so that the program
name comes out right again.

Note: Don't bring this change directly into the -stable branch.  The
appropriate offset for -stable is different.
1996-04-18 19:05:58 +00:00
John Polstra
341a113d59 Fix a typo in the syntax for indirect offsets. 1996-04-18 18:17:14 +00:00
John Hay
33b6236de7 Document that ipx is a valid protocol for the -f option.
Comment out ns and iso. They are not supported anymore.
1996-04-13 21:23:57 +00:00
Bruce Evans
2c51e5ed8d Changed all per-file errors to warnings. Exit with a nonzero status of
if there was a per-file error.  My test case of `wc /proc/curproc/*'
works reasonably now (much like `size /proc/curproc/*'.

Reviewed by:	wosch
1996-04-13 11:35:54 +00:00
Mike Pritchard
d33c4953e7 Print some warnings if root invokes chpass and sets the
shell to one of the following:

- a non-existent file
- a non-regular file
- a file without any execute bits set

The shell is still set to whatever they entered even if the above
conditions exist (hey, it is the super user doing this after all :-),
but this might give the admin. some warning that they are about to screw
themselves and give them a chance to fix it before it is too late.

Inspired by: some new FreeBSD user on USENET who set his root shell
  to a shell that doesn't exist and now can't gain access to root (don't
  worry, I sent him some mail on how to recover from this).
1996-04-11 05:30:18 +00:00
Wolfram Schneider
a0d038a406 Do not exit if a file is not readable. This is a short hack
until someone rewrite wc(1).
1996-04-10 22:21:01 +00:00
Mike Pritchard
457788f888 Correctly match the format flags and their descriptions.
Submitted by:	Dave Glowacki <dglo@ssec.wisc.edu>
1996-04-09 21:46:24 +00:00
Wolfram Schneider
a9251605ba Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
Mike Pritchard
778413c81b Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and
blow away /usr/include and then do "make world".  This is because
the msun math.h isn't installed with the other include files before
xlint is built.  It finally gets installed when the msun library
is built.

Perhaps "make world" should install the msun math.h file if
it doesn't install the CSRG math.h, to prevent problems
like this in the future.
1996-04-09 17:17:31 +00:00
Joerg Wunsch
98fd61c0a2 Don't reference NULL pointers if owner and/or group are omitted.
Pointed out by:  somebody on the mailing list who's name i forgot
1996-04-08 10:59:36 +00:00
Mike Pritchard
edf0e5b3f8 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
Bruce Evans
9192bbf46f Use strtoq() instead of strtol() so that large inums, and sizes can be
specified.

Not fixed: specification of large uids and gids; silent truncation of
unrepresentable values.
1996-04-07 12:58:13 +00:00
Joerg Wunsch
be71712986 Fix a typo.
Submitted by:	tgm@netcom.com (Thomas G. McWilliams)
1996-04-07 01:18:20 +00:00
Mike Pritchard
906c1e27fc Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
Mike Pritchard
e229ffb7e9 Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
Julian Elischer
b897ddafe5 Submitted by: archie@tribe.com
allow the user to install using a Numeric GID or UID.
this brings it in to line with chgrp and chown, ans is required
by some people using FreeBSD in a product.
1996-04-06 01:50:40 +00:00
Mike Pritchard
544b5cb2f1 Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
Wolfram Schneider
4c3dfdc376 $* -> $@
check exit code from $MKDEP_CPP, not sed(1)
1996-04-05 22:13:49 +00:00
Joerg Wunsch
9cb8a1050f Xref clocks(7). 1996-04-05 08:53:38 +00:00
Andrey A. Chernov
481f550e6c Cast to unsigned char instead of unsigned
Cast ctype argument to unsigned char
1996-04-03 07:47:35 +00:00
John Polstra
ffac7b875e Removed the definition of the make variable SHAREDIR. It was clashing
with the definition in bsd.own.mk, causing "make world" to fall over.
1996-04-02 22:26:18 +00:00
Paul Richards
a5e0fef0f3 Don't build the special case lint libraries. 1996-03-31 22:18:46 +00:00
Andrey A. Chernov
daab85586e Localize time 1996-03-31 16:39:26 +00:00
Bruce Evans
0e08ab6ff0 Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.
Tweaked screen positions to match.
1996-03-29 14:48:25 +00:00
John Fieber
7b36c4a152 Make sure there is a linefeed at the end of generated HTML files. 1996-03-26 13:26:53 +00:00
Paul Richards
215b228037 Move llib-lstdc to llib-lc since that's what lint expects. 1996-03-24 20:03:46 +00:00
Paul Richards
e2304a633b Re-enable building of lint libraries. 1996-03-24 19:47:12 +00:00
Paul Richards
50359a8d3a Build and install llib-lstdc.ln. Disable Posix version.
Change install mode from NONBINMODE to LIBMODE
1996-03-24 19:45:58 +00:00
Paul Richards
4a7eb58ade Add xlint 1996-03-24 14:09:33 +00:00
Paul Richards
e7f9bd714d Don't build lint libraries for the moment. 1996-03-24 13:58:27 +00:00
Joerg Wunsch
3281f9d8e5 Cast char's to (u_char) before passing them to isctype() functions. 1996-03-19 21:21:06 +00:00
Bruce Evans
fdee4617c6 Fixed a type mismatch in crufty misconfigured compatibilty code. 1996-03-19 15:11:13 +00:00
Joerg Wunsch
229cd11bba Minor correction regarding the last line of an uuencoded file.
Submitted by:	Giles Lean <giles@topaz.nemeton.com.au>
1996-03-17 09:49:51 +00:00
Joerg Wunsch
6109ca90ae Fix a couple of sign-extension bugs.
Submitted by:	serg@bcs1.bcs.zaporizhzhe.ua (Sergey Shkonda)
1996-03-17 09:00:48 +00:00
Andras Olah
03801815df Allow the user to disable the use of T/TCP by setting the -T option.
This option becomes useless when all TCP stacks are fixed out there.
1996-03-15 16:41:49 +00:00
Wolfram Schneider
506745c8a5 remove /usr/ucb from path
cleanup Makefile
1996-03-12 21:37:05 +00:00
Andrey A. Chernov
7573cb47cf Increment network byte order properly
Reviewed by: wollman
1996-03-12 10:23:30 +00:00
Mark Murray
1a98a0fb5b Make su a little less fascist about using Kerberos if it is not
configured or available.

Also fix a _nasty_ bug that would let one in if su -K was used.
Any old password would work :-( :-(.
1996-03-11 22:14:52 +00:00
David Greenman
d8d891521e Move #include of queue.h before #include of socketvar.h in preparation for
struct socket changes.
1996-03-11 13:01:12 +00:00
David Greenman
48750b4c77 Include queue.h in preparation of struct socket changes. 1996-03-11 13:00:12 +00:00
David Greenman
0bb10c6613 Include queue.h in preparation for upcoming struct socket changes. 1996-03-11 12:56:07 +00:00
Mike Pritchard
83d5ca475c Fix some grammer problems. 1996-03-11 04:50:13 +00:00
Mike Pritchard
6ce9e6704d Add the -x option to the usage string.
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1996-03-11 03:36:10 +00:00
Mike Pritchard
ade9638b8a Fix a couple of typos.
Submitted by:	Philippe Charnier <charnier@limrr.fr>
1996-03-11 03:31:51 +00:00