Commit Graph

883 Commits

Author SHA1 Message Date
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bruce Evans
e6c645fad2 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:46:59 +00:00
Bruce Evans
912e603778 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:30:05 +00:00
Joerg Wunsch
e29b080f61 >Number: 917
>Category:       bin
>Synopsis:       -s option in jot is broken
1995-12-29 12:18:46 +00:00
Andrey A. Chernov
4c19ddc5f1 Use more complicated printable test to remove unnecessary 8bit chars 1995-12-28 16:31:23 +00:00
Andrey A. Chernov
9f3ececf05 Localize it 1995-12-28 13:43:40 +00:00
Joerg Wunsch
ca22ff9ec7 Kill the (hopefully) last occurance of gets(3) in the base source tree. 1995-12-27 23:23:43 +00:00
Andrey A. Chernov
1ef69972ad Change .8s port name restriction to .15s, modern tcp port
have longer names, check /etc/services.
kerberos_master triggers this bug: it is undistiguishable from
simple kerberos for .8s
1995-12-23 18:19:01 +00:00
Poul-Henning Kamp
9e535a67c1 Add -t option which prints output in tabular format. 1995-12-19 08:12:07 +00:00
Garrett Wollman
1e474c62ca Implement client-side transaction TCP. This has little effect
if the server doesn't support it.  (This is intended mostly as
an example.)
1995-12-17 21:04:36 +00:00
Mark Murray
e075ffc9a7 1) Fix local_passwd to co-operate with dual-personality crypt(3).
Changing a local passwd will now keep the encryption type that
   was originally used to encrypt the password, so folks adding DES
   to their systems will not be irritated/confused by having MD5'ed
   passwords in their master.passwd. Coming later is an option to
   allow the user to choose the encryption type.

2) Fix a bunch of compiler warnings announced by turning on -Wall.
   I did not get them all, that will come a bit later.
1995-12-16 09:45:17 +00:00
Bill Paul
7db881e162 More XDR routine cleanups. These three programs should be the only
ones that require this: the others call the yplib functions in libc.
1995-12-15 03:39:46 +00:00
Bruce Evans
d376015efe Reduced vm dependencies. Only `struct vmmeter.h' is required.
Unfortunately, the sysctl number for reading this struct is
bogusly placed in <vm/vm_param.h> instead of with the declaration
of the struct.
1995-12-13 15:01:13 +00:00
Andrey A. Chernov
da3b2e6612 Localize it 1995-12-13 12:54:26 +00:00
Peter Wemm
0fe1bab6cc Add explicit #include of <sys/vmmeter.h> after the last round of <vm/vm.h>
changes.
1995-12-13 11:34:46 +00:00
Peter Wemm
5141eaa463 add a #include <sys/vmmeter.h> since we are using the vmmeter structures
and this was once (but no longer it seems) included by <vm/vm.h>
It should now compile again.
1995-12-13 11:33:34 +00:00
Bill Paul
ff49530f45 Clean up. (I hope I'm doing this right.)
Update rpcgen with the one from the TI-RPC 2.3 distribution.

Note that when built for FreeBSD, this version of rpcgen assumes
backwards compatibility mode by default. This means that it will produce
ONCRPC 4.0 compatible code unless otherwise instructed, instead of the
other way around.

One incompatibility has also been worked around: this rpcgen normally
always emits an '#include <stropts.h>' directive whether you select
backwards compatibility mode or not. We don't have STREAMS, so this
behavior has been changed: now it will only emit this line if run in TI-RPC
mode.

The 'generate output files in current directory instead of the
directory where the protocol definition file lives' hack from the
original rpcgen has been preserved.

Notable new features:

- Can be used to generate RPC servers that can be launched
  from port monitors such as inetd(5).

- Can generate ANSI C code.

- Can generate sample client and server top-level programs and
  makefiles in addition to the usual client and server stubs.

- Can generate inline XDR routines.
1995-12-13 03:31:10 +00:00
Bill Paul
1e15863810 This commit was generated by cvs2svn to compensate for changes in r12795,
which included commits to RCS files with non-trunk default branches.
1995-12-13 03:21:09 +00:00
Bill Paul
ee4f614e7e Import a newer and more functional version of rpcgen.
Obtained from: the Sun TI-RPC 2.3 source distribution
1995-12-13 03:21:09 +00:00
Peter Wemm
34321f66e1 Fix a cosmetic null termination problem for completeness.
The #ifdef NEWSALT code doesn't NULL terminate the salt string..
We dont appear to use this code anymore, but it shouldn't hurt

Submitted by: Laurence Lopez <lopez@mv.mv.com>
1995-12-11 14:00:48 +00:00
Paul Traina
3044a47a18 Add support for high-range FTP data ports 1995-12-10 19:54:49 +00:00
Joerg Wunsch
d9f9371008 Move out some of the shell builtin bogosity from printf's source to
sh's builtin/bltin.h.
1995-12-10 15:40:42 +00:00
Joerg Wunsch
54e66fcad5 Check the # of arguments, instead of silently dumping core. 1995-12-10 15:33:00 +00:00
Bill Paul
44440ae8b2 Small tweak: the 'is exisating password an empty string' check isn't
quite right. (Thic causes you to get prompted for an 'Old Password' when
changing someone's NIS password even if your password isn't set yet.)
Do it like local_passwd.c does.
1995-12-09 19:10:20 +00:00
Bruce Evans
e456e8f244 Don't #define NO_CONST. Defining it caused type mismatches for
qsort()'s compare arg and the problem fixed by defining it has
apparently gone away.
1995-12-07 14:17:14 +00:00
David Greenman
0ee0bd8331 Initialize some uninitialized variables to fix a bug that sometimes
resulted in msgs doing strange things, including getting stuck in an
infinite loop.
1995-12-06 07:34:49 +00:00
Julian Elischer
140dbd4767 Submitted by: John Hay
more IPX related fixes
1995-12-05 07:29:15 +00:00
Bruce Evans
67a8a10b9c Updated to BSD4.4lite2. Fixes PR836. `echo abcd | tr a-d A-BC-D' now
works.
1995-11-28 13:18:47 +00:00
Poul-Henning Kamp
dc22f7a98e Make tip recognize EOF in more cases. 1995-11-26 21:08:36 +00:00
Andrey A. Chernov
07e8877db1 Merge with current. Back out all trailing spaces changes, they
hits again and again.
1995-11-23 20:19:56 +00:00
Andrey A. Chernov
ec1450fb63 This commit was generated by cvs2svn to compensate for changes in r12461,
which included commits to RCS files with non-trunk default branches.
1995-11-23 19:28:56 +00:00
Andrey A. Chernov
39a9eb721a Import of 1.9.5, one my fix included to mainstream 1995-11-23 19:28:56 +00:00
Stefan Eßer
09a67ffa0e Increase width of Network column from 11 to 13 for the AF_INET case.
This seems to have been missed, when the recent IPX changes went in ...
1995-11-22 22:21:04 +00:00
Bill Paul
abc60cd9fc Amend my fix a bit. My way failed to take leap years into account. The
simplest thing is to just calculate the days using curtime - boottime / 86400.
The modification for this is less obtrusive anyway.

Suggested by: Bill Fenner <fenner@parc.xerox.com>
1995-11-21 05:43:27 +00:00
Mark Murray
ec07fbef21 Correct the man pages, USD doc and online help to refer to /var/mail
instead of {usr|var}/spool/mail
1995-11-20 20:51:42 +00:00
Andrey A. Chernov
8b761b33c1 Default file creation mask was 666 (allow othres write anything
to msgs directory), change it to 644
1995-11-19 16:55:50 +00:00
Bill Paul
f7e522bcd5 Rup uses tm_yday in its uptime printout, but ignores tm_year. This means
that if you do an rup on a machine that's been running longer than a year,
you get the wrong day count. Now we factor in 365 * (curtime.tm_year -
boottime.tm_year) to get the correct value. (I noticed this while running
rup on a SunOS machine I have that's been up 525 days. My FreeBSD
machines all said it had only been up for 160 (525-365) days. :)
1995-11-19 05:33:30 +00:00
Bruce Evans
24f7e33dfd Fixed afterinstall rule:
- apply chmod to the targets, not to the sources.
- apply chown to the targets.

It is still bogus to install by building in the target directory.  See
mklocale/data/Makefile for a better method.
1995-11-18 11:21:37 +00:00
Joerg Wunsch
e6c267f18c Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
Peter Wemm
f3117d66d3 Fix the bug that caused the AF_UNIX domain sockets to not be shown..
(it was nlist()ing a wrong symbol name).  Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
Julian Elischer
35701152cc Obtained from: pope gregory and julius caesar
27c27
< 11/29 Thanksgiving Day (Last Thursday in November)
---
> 11/23 Thanksgiving Day (4th Thursday in November)

it's not that the date was wrong for this year (it was the wrong year..
it was that the ALGORYTHM was wrong..
very confusing for non americans wondering why americans were going to be
on holiday on the 23rd..
1995-11-11 00:12:47 +00:00
Nate Williams
b534b75d22 Re-wrote the locate.updatedb script in /bin/sh for speed and portability.
Obtained from: Partially my work in 1.
1995-11-09 00:48:41 +00:00
Andrey A. Chernov
ded77c4e00 Author's cosmetic fixes 1995-11-08 09:55:12 +00:00
Andrey A. Chernov
b27f46351e Author's fixes of backspace problem, slightly different then mine was 1995-11-08 09:54:19 +00:00
Joerg Wunsch
6b024ad2a8 Well, Jochen adopted most of my submissions. So only the different
style of error reporting (i prefer gcc style to be consistent with the
compiler) is left, plus a minor nit he's most likely been overlooking.

There are still problems with bootstrapping, and you should expect
troubles when linting libc...
1995-11-06 21:54:02 +00:00
Joerg Wunsch
f2959bfd1f This commit was generated by cvs2svn to compensate for changes in r12099,
which included commits to RCS files with non-trunk default branches.
1995-11-05 15:56:42 +00:00
Joerg Wunsch
96a322df43 Jochen Pohl's lint(1) from NetBSD. Yet another import.
This is just a vendor import by now.  I'll wait until i'll get the
imported files back via CTM before applying the FreeBSD patches.
Don't use it yet.

Submitted by:	Jochen Pohl <jpo.drs@sni.de>
Obtained from:	(NetBSD -- this version is directly from Jochen)
1995-11-05 15:56:42 +00:00
Andrey A. Chernov
dbc57b8da7 Do unctrl in right way
Handle '\377' properly
1995-11-05 09:02:10 +00:00
Peter Wemm
0b5e4d48b3 Repair the detection of undefined symbols that my last "quick fix" commit
broke.  It's much easier to debug the symbol export lists in lkm makefiles
if you know what your errors are during the build process. :-)

Bleah.. symorder.c is *horrible*. :-(
1995-11-03 18:27:18 +00:00
Andrey A. Chernov
3861c86a42 Cleanup make process per Bruce suggestions 1995-11-03 14:53:53 +00:00
Andrey A. Chernov
1b31f20e14 Add $id$ and ${COPY} 1995-11-03 14:51:45 +00:00
Andrey A. Chernov
40e33105d2 Cleanup make process per Bruce suggestions 1995-11-03 14:39:11 +00:00
Adam David
56c78cb71a Fix the :S modifier to substitute in each word of the variable, according
to the description in the manpage. g flag means "replace every occurence
in each word", and its absence means "replace first occurence in each word".
Previously, absence of the g flag was implemented to mean "replace first
occurence found in all words, and then stop replacing", which was incorrect.
1995-11-01 12:18:32 +00:00
Andrey A. Chernov
74e1c9782c Fix ranlib to work with odd-length extended names.
Submitted by: Jim Leppek <jleppek@harris.com>
1995-11-01 08:06:01 +00:00
Peter Wemm
9f65f104f5 Merge in changes from ppp-2.2's chat onto the mainline... 1995-10-31 23:28:29 +00:00
Peter Wemm
698ac68e11 This commit was generated by cvs2svn to compensate for changes in r11987,
which included commits to RCS files with non-trunk default branches.
1995-10-31 23:07:20 +00:00
Peter Wemm
2253b28816 Vendor branch import of chat from ppp-2.2 package.. 1995-10-31 23:07:20 +00:00
Poul-Henning Kamp
5a4838fc5e <sys/user.h> -> <sys/time.h>
Spotted by:	bde
1995-10-30 15:44:44 +00:00
Andrey A. Chernov
b6c671c7ba Remove char->int promotion.
Fix uncontrol function for 8bit chars.
1995-10-29 10:33:26 +00:00
Poul-Henning Kamp
52a28d7027 #include <sys/user.h> 1995-10-29 09:56:53 +00:00
Andrey A. Chernov
ac7154f578 Make it works with 8bit charsets
Add setlocale LC_CTYPE
1995-10-29 00:20:05 +00:00
Andrey A. Chernov
ee15822acd Now works with 8bit chars... 1995-10-28 22:48:27 +00:00
Andrey A. Chernov
199482ead7 Fix broken charclass handling
Add setlocale LC_CTYPE
1995-10-28 22:27:03 +00:00
Paul Traina
9e5fd22b08 Close out PR#723: time -l dumps core 1995-10-28 16:05:32 +00:00
Andrey A. Chernov
31463f38ef Add strict 7bit ASCII locale 1995-10-28 13:32:30 +00:00
Peter Wemm
62c10d2dcb symorder appears to have been designed to run on executable files
only, as it payes no attention to the relocation table (which
references the symbols).

As a result, running "symorder -c" to clean up the visibility of a LKM
".o" file (as is done in the new bsd.kmod.mk) totally screws up the
relocation table, making the LKM file unloadable. (ld: bogus
relocation record)

This is a pretty crude fix - I've changed symorder so that when
running in "cleanup" mode, it disables the reordering which was
screwing up the relocation table.  I'm sure there is a better fix, but
I didn't have the energy.  Feel free to fix this hack, probably by
renumbering the symbol indexes in the relocation table.
1995-10-28 12:27:20 +00:00
Paul Traina
7700fd358f Close docs/43 manpage for keysu is missing 1995-10-28 08:07:38 +00:00
Julian Elischer
661e19c924 Submitted by: Mike Mitchell
oops.
forgot this file then went to bed..

sorry
1995-10-27 20:18:22 +00:00
Adam David
513822dddc - #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)
+ #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
1995-10-27 12:32:07 +00:00
Julian Elischer
09fa32d305 Submitted by: john hay
patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Andrey A. Chernov
3fb8ee222b Add setlocale LC_TIME 1995-10-26 22:58:56 +00:00
Andrey A. Chernov
f1e4dd10de Add setlocale LC_CTYPE 1995-10-26 22:26:15 +00:00
Andrey A. Chernov
5ccbfb26fb Add setlocale LC_CTYPE 1995-10-26 22:16:45 +00:00
Julian Elischer
cc6a66f20e Reviewed by: julian and jhay@mikom.csir.co.za
Submitted by:	Mike Mitchell, supervisor@alb.asctmd.com

This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..

Mikes been using it for a year or so
but on 2.0

more changes and stuff will be merged in from other developers now that this is in.

Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
1995-10-26 20:31:59 +00:00
Andrey A. Chernov
d1b2ad1a54 Change locale to LC_ALL, there is no bitmask 1995-10-26 11:03:08 +00:00
Andrey A. Chernov
8bbd907273 Add setlocale LC_CTYPE 1995-10-24 06:15:05 +00:00
Andrey A. Chernov
628b3a7935 Add setlocale LC_CTYPE 1995-10-24 06:02:24 +00:00
Andrey A. Chernov
f34b5369b7 Remove wrong LC_TIME env. usage 1995-10-24 05:56:45 +00:00
Andrey A. Chernov
6e9804553e Add setlocale LC_TIME 1995-10-24 05:37:15 +00:00
Andrey A. Chernov
eb1d32b9a3 Add setlocale LC_CTYPE 1995-10-24 05:18:36 +00:00
Andrey A. Chernov
238d3ffda9 Add setlocale LC_TIME 1995-10-24 05:09:54 +00:00
Andrey A. Chernov
dc675fc2e7 Add setlocale LC_TIME|LC_CTYPE 1995-10-24 04:18:45 +00:00
Andrey A. Chernov
f6d3b9ac8f Add setlocale LT_TIME 1995-10-24 04:09:49 +00:00
Andrey A. Chernov
965f310ce1 Add setlocale LC_TIME 1995-10-24 04:06:02 +00:00
Andrey A. Chernov
baf72ec10c Add setlocale LC_TIME|LC_CTYPE 1995-10-24 03:06:09 +00:00
Peter Wemm
67f3063c0e Attach dnsquery to Makefile 1995-10-23 16:44:22 +00:00
Peter Wemm
ecc3153d73 Make it compile..
This is part of bind-4.9.3, but was missed in previous imports. It replaces
the old nstest and nsquery programs.
1995-10-23 16:38:17 +00:00
Peter Wemm
d8ae52dc79 Merge beta26 changes 1995-10-23 16:07:56 +00:00
David Greenman
357ab62b03 Add -c to usage output. 1995-10-23 15:19:10 +00:00
Peter Wemm
fd39459a14 Merge beta26 changes 1995-10-23 14:07:51 +00:00
Peter Wemm
6bfa3896ed This commit was generated by cvs2svn to compensate for changes in r11719,
which included commits to RCS files with non-trunk default branches.
1995-10-23 13:36:47 +00:00
Peter Wemm
471f05ab65 Import tools from bind-4.9.3-beta26 (update beta24) 1995-10-23 13:36:47 +00:00
Jordan K. Hubbard
24249ac14f Don't assume that $HOME is always set. 1995-10-22 14:10:08 +00:00
Andrey A. Chernov
e27e7f980f Link LC_COLLATE inside dirs instead of dirs linking 1995-10-22 00:58:41 +00:00
Andrey A. Chernov
c3b974751f Link LC_CTYPE inside dirs instead of dirs linking 1995-10-22 00:53:56 +00:00
Joerg Wunsch
0859bf6ff4 Finally catch up with the Frenchmen, and create the German message
catalog.
:-)
1995-10-21 23:47:43 +00:00
Poul-Henning Kamp
b8ab406ba1 Remove declamations which <ctype.h> already does for us. 1995-10-21 22:02:10 +00:00
Poul-Henning Kamp
37782cea67 Added #include <ctype.h> 1995-10-21 21:08:43 +00:00
Bruce Evans
49f544b572 Return early in printreg() when the pointer is NULL. For FreeBSD, the
strings describing the drive status and error bits are so deficient
that the pointer is always NULL.

Reported by:	Philippe Charnier <charnier@lirmm.fr>
1995-10-21 08:51:01 +00:00
Poul-Henning Kamp
195d393a20 Recognize Acrobat files too. 1995-10-19 15:19:03 +00:00
David Greenman
c83d3f4574 Fixed a bug that caused last(1) to be extremely slow in some cases, and
made other performance improving changes. This improves the performance
of last(1) by as much as 32 times in some cases, and in more typical cases
is about twice as fast.
Added a BUGS section to the manual page to describe the behavior of last(1)
when a login shell terminates abnormally (and thus doesn't write a logout
record to the wtmp file).
1995-10-17 18:26:43 +00:00
Garrett Wollman
81e236a01c Don't use printf() for simple strings because it is slow. Closes PR 783.
Submitted by:	Wolfram Schneider <wosch@freebsd.first.gmd.de>
1995-10-16 18:32:35 +00:00
Andrey A. Chernov
7ff83380e0 Fix ALPHA range 1995-10-15 16:53:43 +00:00
Andrey A. Chernov
283f4b8de4 Various fixes mostly for letters range
Obtained from: partially from Kaleb S. Keithley <kaleb@x.org> patch
1995-10-15 16:49:16 +00:00
Andrey A. Chernov
d70b2d75d4 XDIGIT range fixed. This change is cosmetique and not affect anyone,
because ASCII locale used for isdigit and isxdigit in any case.
1995-10-15 15:50:19 +00:00
Poul-Henning Kamp
65f29761ba Add a '-c' option for cleaning namelists of various things. 1995-10-15 14:31:10 +00:00
Garrett Wollman
231bfb095d In TCP statistics, display new statistic about how many resends were
initiated as a result of the Path MTU discovery process.
1995-10-13 20:01:48 +00:00
Garrett Wollman
eb034ce46a Make it possible to enable WHEELSU from /etc/make.conf. 1995-10-12 17:25:58 +00:00
Poul-Henning Kamp
f96ffb5acb Another program depending on zero'ed malloc.
Submitted by:	Kai Vorma <vode@snakemail.hut.fi>
1995-10-10 10:03:48 +00:00
Peter Wemm
39c17c43c5 Reverse out some of the previous commit I did, which shortened the
finger output from 80 to 79 characters to stop the syscons
every-second-line-is-blank problem.

Also, redo the TTY column mod so that it steals one of the (usually) two
blank spaces from the before the tty column rather than from the office
phone number.

This means the office phone field width in the short finger is back to 15
characters instead of 13.
1995-10-10 02:31:09 +00:00
Poul-Henning Kamp
b6078f2906 We wouldn't want to kill init if our parent died...
Spotted by:	davidg
1995-10-09 09:51:17 +00:00
David Greenman
3c0d1798b1 KNFize last change. 1995-10-09 08:17:08 +00:00
David Greenman
342e26f662 KNFize. 1995-10-09 08:13:09 +00:00
Bruce Evans
de264c2bd8 Add options -C (same as -c except for preserving the modification
time of the target if the target file is the same as the source),
-d (debug), and -p (same as -C except for preserving the modification
time of the source if the target doesn't exists or is different from
the source.

Use library err() functions instead of our own and pass them better
exit codes.

Submitted by:	wollman (and changed a lot by me)
1995-10-09 07:21:00 +00:00
Bruce Evans
669c4b246c Don't claim that `ranlib -t' is useful.
Our ld is derived from gnu ld which doesn't check the timestamp on
__.SYMDEF.  gnu ld is designed to work with gnu ar which doesn't
even have a ranlib option (gnu ar updates __.SYMDEF automatically
if __.SYMDEF already exists, so gnu ld expects __.SYMDEF to be up
to date if it exists).
1995-10-09 05:19:27 +00:00
Andrey A. Chernov
fbad6604dd Fix one column wrong offset in previous change days->day 1995-10-08 23:16:45 +00:00
Andrey A. Chernov
ec3e116140 Change error diagnostic to be less confusing:
no calendar file -> no calendar file in current directory
1995-10-08 14:18:15 +00:00
Andrey A. Chernov
2b91a983a5 Remove hack inserted by me long time ago (cd $HOME for user-called case),
no other system do it and it can cause problem with multi-calendars
for single user.
1995-10-08 14:15:20 +00:00
John Fieber
5a288d129a This is now perl5 friendly.
Make server side include hooks for headers and footers controlled
by a command line switch and document the feature.
1995-10-07 22:28:34 +00:00
Poul-Henning Kamp
3dff9b4169 Another place where malloc is expected to return zero'ed storage.
(Found with phkmalloc/2 (TNG!) send me email if you want a copy.)
1995-10-07 17:53:30 +00:00
Poul-Henning Kamp
4699383a71 Symorder relies on malloc to return zero'ed data. Found with phkmalloc/2. 1995-10-07 08:13:24 +00:00
Poul-Henning Kamp
662d0b8c51 Die if we get errors from the tty. 1995-10-06 15:32:36 +00:00
Peter Wemm
4159dde275 Support for using overlapping kzip kernels that are overwritten during
uncompression by the "proper" kernel.  These changes also add a -v option
so you can see how much room you are using, and check to make sure you're
not going past the 4MB boundary.

This depends on the corresponding changes to sys/i386/boot/kzipboot.

Submitted by:	Gary Jones(?) <gj@freefall>, and my code merged in.
1995-10-06 02:42:15 +00:00
Mike Pritchard
2eb05f4227 Fix a bug in a recent commit that broke more so that it
would no longer properly detect when "vi" was being called,
and thus would not call vi with the "+line#" argument.
1995-10-05 22:26:43 +00:00
Justin T. Gibbs
f4390542d7 Kerberos can now deal with multi-homed clients.
Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions.  This ensures
that packets only leave the *authenticated* interface.  Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos.  krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.

Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
1995-10-05 21:30:21 +00:00
Joerg Wunsch
587582a6d5 Describe the correct default situation for the various permission
options.

Submitted by:	sgk@troutmask.apl.washington.edu (Steven G. Kargl)
1995-10-05 06:18:48 +00:00
Peter Wemm
7b47e45310 Make more pass +linenumber to vi (and emacs), even if $EDITOR is used.
Closes PR#441, but with a more generic method.
1995-10-04 09:33:39 +00:00
Bruce Evans
9d7f79dc98 Enable sasc. 1995-10-03 12:29:28 +00:00
Andrey A. Chernov
0bf30bc7b2 Build secure telnet if available and allowed 1995-09-29 19:50:40 +00:00
Bruce Evans
89e45c9b7f Don't use gets().
sys_curses/system.c:
Don't use gets() better.  Neither gets() nor fgets() is appropriate for
discarding a line of input.
1995-09-29 18:44:53 +00:00
Bruce Evans
6ef8b8ca0c Build tools subdir first to reduce bogons caused by inadequate dependency
handling for the tools binaries.  E.g., after libc.a is changed, it
previously took two `make' passes and one `make depend' pass following
one of the `make' passes to bring everything up to date.  Now one `make'
pass followed by one `make depend' pass is sufficient.

Dependency handling seems to be difficult to handle cleanly when
interdependent things are built in different directories.
1995-09-29 18:32:39 +00:00
Jean-Marc Zucconi
c28f850118 Makefile: use CFLAGS+= instead of CFLAGS=. Don't use the f2c's malloc.
main.c: reinstitute the -o option to rename C output file.
1995-09-28 20:43:33 +00:00
Jean-Marc Zucconi
5d60853225 Update to the 1995/09/20 version. Previous version was 1993/12/17
The diffs are large mainly because of prototyping changes.
1995-09-28 20:36:16 +00:00
Bruce Evans
691cda9ce1 Fix SRCS so that `make depend' works. There were some .l's and some .y's.
The filenames in SRCS must have one of the extensions .s, .S, .c, or .cc
if they are to be handled by bsd.dep.mk.  Lex and yacc files must be
converted to C files and kept around for everything to work.  This is
handled fairly automatically if the names of the generated C files are
put in SRCS.  Unfortunately these names must be put in CLEANFILES too.

pcvt Makefiles:
Fix DPADD.  It was missing.

Fix CLEANFILES.  Some temporary files were missing.

Fix CFLAGS.  There were some `-I dir' options.

There must be no whitespace separating -I and -D options from the
corresponding args if these options are to be handled by bsd.dep.mk.
1995-09-28 18:23:44 +00:00
Andrey A. Chernov
feb1b301ec Rename PATH_LOCK to PATH_UUCPLOCK 1995-09-23 15:17:32 +00:00
David Greenman
1b72e71cc2 Fixed netstat to not bogusly mangle the argv[] command args by rewriting
the way it stores and handles "interface". The previous behavior resulted
in strange output from 'w' and 'ps' when an interface specification was
given to netstat.
1995-09-23 15:04:28 +00:00
John Fieber
3b2d7cc9ec Lay some hooks for server side includes in HTML output. Specifically,
hooks for custom headers and footers.
1995-09-22 18:24:32 +00:00
Poul-Henning Kamp
0ad2ff70ee Stop using gnumalloc. 1995-09-22 14:14:32 +00:00
Dima Ruban
89cc2fabf2 Print "1day" instead of "1days" 1995-09-22 00:50:37 +00:00
Joerg Wunsch
449c6a18c2 Implement a rather gross hack to identify i386 a.out core files.
Takes advantage of some bytes in our current tss structure that
reliably have particular values (due to our current architecture or
CPU requirements).
1995-09-21 20:10:52 +00:00
Andrey A. Chernov
25883984a4 Use new _PATH_LOCK
Fix bug: pid was not assigned
1995-09-20 13:21:21 +00:00
Bruce Evans
e475c1dd26 Back out the change in rev.1.4 and fix the formatting of the change
in rev.1.3.  1.4 just broke 1.3 for the -x case.

This fixes PR 721 and merges archive.c with 4.4Lite2.
1995-09-18 18:37:09 +00:00
Joerg Wunsch
ae91233946 Add X11 XPM and BDF description strings. Alas, bitmaps do not have
anything usable as "magic string".
1995-09-17 19:22:00 +00:00
Justin T. Gibbs
5601df6e0c Point passwd to the new locations of kpasswd.c and kadm.h. 1995-09-14 21:02:16 +00:00
Nate Williams
e9f1a293f1 Simpler fix to the find bug reported by Terry Lambert <terry@lambert.org>
[ Find to a file vs. to stdout ] produces different output because find
does not flush stdout when doing a -print.

Submitted by:	Jeffrey Hsu <hsu@freefall.freebsd.org>
1995-09-12 23:15:33 +00:00
Mark Murray
776955d918 Updating /usr/include/kerberosIV/des.h so eBones will build breaks
rcp and rlogin.
(patch supplied)

Submitted by:  John Capo <jc@irbs.com>
1995-09-10 14:59:51 +00:00
Jean-Marc Zucconi
b1926d59c9 message catalog for fr_FR.ISO_8859-1 1995-09-09 15:06:08 +00:00
Jean-Marc Zucconi
37eda82b8e Add fr_FR.ISO_8859-1 to LANGS 1995-09-09 15:05:14 +00:00
Jordan K. Hubbard
b7935a74ba Change the errx(0,...) to errx(1,...)
Submitted by:	Mike Murphy <mrm@alpharel.com>
1995-09-08 20:33:21 +00:00