Commit Graph

1303 Commits

Author SHA1 Message Date
Andrey A. Chernov
5e57bd1999 Detect GUS patches now 1996-11-17 11:03:07 +00:00
Wolfram Schneider
5f4cf81e9d fix C programmer's bug number 12.2
submitted by: bruce
1996-11-17 02:16:34 +00:00
Joerg Wunsch
771301de24 Fix the C programmer's bug #1: EOF is of type int', not char'.
Strong 2.2 candidate.

Submitted by:	wosch
1996-11-17 00:22:54 +00:00
Peter Wemm
0587e3a417 pw_scan() was being used to convert a string into a struct passwd, with
an auto stack variable that was about to disappear.  It broke with some
nis passwd changes because of a gethostbyname() call that uses a fair bit
of stack..  This was a timebomb waiting to go off at any time and could
have been causing subtle corruption for a while.

AARGH!!

This is HIGHLY reccomended for 2.2 and presumably 2.1.6
1996-11-15 17:36:20 +00:00
Andrey A. Chernov
528baa6dcc Report net connection error via hstrerror(h_errno) now instead of
simple fact that can't connect
1996-11-14 07:36:26 +00:00
Andrey A. Chernov
c7a626a567 Change to new ftpLogin interface
Now clearly say: Not logged in
instead of old: Broken pipe
(note it was original reason for all my libftpio changes)
1996-11-14 07:06:25 +00:00
Jordan K. Hubbard
b2ff494ac6 Now that systat's working again, bring the vmstat cleanup over from
-stable.
1996-11-12 19:16:46 +00:00
Paul Richards
b345ce1b4c Added a missing \ for installing perl modules.
2.2 and 2.1.6 candidate.
1996-11-10 15:49:49 +00:00
Peter Wemm
e721a581cb Cosmetic bugfix. fetch was modifying it's argv[] strings in place, which
caused ps(1) to show strange things..
1996-11-10 14:46:50 +00:00
Bruce Evans
adb844d545 Initialize interrupt counters. The boot time values were displayed as ***.
Should be in 2.2.

Pointed out by:	/etc/malloc.conf -> AJ
1996-11-10 08:30:18 +00:00
Joerg Wunsch
647518cf5a Merge from the 2.2 branch: avoid including the API stuff when building
vi for the fixit floppy.  Perhaps we'll find a more elegant solution
some day, by now it has proven to work reasonably.
1996-11-09 16:54:33 +00:00
Wolfram Schneider
a05487cad5 add PATH variable 1996-11-05 07:24:48 +00:00
Wolfram Schneider
e1084c6d66 add PATH variable
better argument handling
1996-11-05 07:22:47 +00:00
Wolfram Schneider
b2715e9ada add /sbin to PATH, the location of sysctl(8) may changed in future
use shell builtin 'exec' for last command
1996-11-05 07:17:33 +00:00
Jeffrey Hsu
b20d9ed2e7 Add YYLEX and YYEMPTY macros to make byacc look more like bison.
Obtained from:  Cygnus source tree, with permission.
		Original commit by Jim Wilson, wilson@cygnus.com.
1996-11-04 21:54:52 +00:00
Andrey A. Chernov
e1384c5e2d Install message catalog links according to standard naming convention
Message catalogs not works without this change

2.2 candidate
1996-11-04 02:52:33 +00:00
Andrey A. Chernov
f5fd1fa61e Fix PATH_MSGCAT
2.2 candidate
1996-11-04 02:28:31 +00:00
Peter Wemm
9b26ad21cc Fill in some of the missing blanks for the tknvi and perl5 compile options.
Both options can be compiled if the appropriate ports are present.  These
are examples only and are commented out.
1996-11-03 21:32:37 +00:00
Peter Wemm
0e3dfa92bd The tcl/perl interpreter compile options were not really optional.
This is needed for building the boot crunch for 2.2 (It still needs a hook
so the release code can tell it when to build it without tcl etc).
1996-11-03 19:15:45 +00:00
Mark Murray
90c68a6718 Compile telnet from eBones instead of secure.
2.2 candidate.
1996-11-03 17:01:25 +00:00
Steve Price
8a87dec9bf Add a .POSIX directive. When the first non-comment
line of a Makefile contains this directive, make(1)
will enter a POSIX 1003.2 compliant mode.

Submitted by: Joerg Wunsch <joerg@freebsd.org>
1996-11-03 03:29:57 +00:00
Jordan K. Hubbard
2b5209acaa I haven't had a single contraversial commit all week, so what the
heck.  Watch through our hidden camera, ladies and gentlemen,
as this one-line addition to the syslog output generates hundreds
of thousands of lines of email in response, all from people
decrying the evils of electronic noise pollution! :-)

What this change does, simply speaking, is syslog it every time
someone changes their local password.  I need this at a local ISP to
tell whether people are reacting to expires in a timely fashion or
not.  To disable it, uncomment -DLOGGING in the Makefile.

If your users change their passwords so often as to fill your logfile,
then you may also have another administrative problem to deal with.
1996-11-03 03:11:57 +00:00
Wolfram Schneider
459142187a Match the reality. The man page was completely wrong. 1996-11-02 22:02:32 +00:00
Jordan K. Hubbard
a378b701cb Apply a long-forgotten change to make FTP_PASSIVE_MODE just that
much more universal (in FreeBSD, anyway) in taking some of the pain
out of firewalls.
1996-11-02 18:18:38 +00:00
Wolfram Schneider
5a52948cf6 remove duplicated usage string from commit rev 1.2
fix usage()
1996-11-02 15:28:57 +00:00
Poul-Henning Kamp
00cb92bf59 bin/1942 curses problem in systat
truncate if too long for field.
2.2 candidate.
1996-11-02 15:15:40 +00:00
Warner Losh
d919888163 Reviewed by: Warner Losh <imp@village.org>
Submitted by:	Marc Slemko <marcs@znep.com>
Obtained from:	OpenBSD

Add -0 for reading the results of find -0.
1996-11-01 18:46:05 +00:00
Peter Wemm
db1f91a969 Yikes, I forgot to remove the -DSYSV_CURSES setting that I was using on
one of the machines I was testing on. (This was to get it to use the
sysv extensions in ncurses)
1996-11-01 08:34:51 +00:00
Peter Wemm
301b0bb501 Remove the old nvi-1.34, it has served us well but it's time has come..
(It was tagged immediately prior to removal with the tag "nvi_1_34_final")
1996-11-01 08:25:51 +00:00
Peter Wemm
4f85133da7 Update to use nvi-1.79 sources 1996-11-01 08:16:24 +00:00
Wolfram Schneider
81de2b457b add forgotten variable $locate 1996-10-31 22:46:52 +00:00
Poul-Henning Kamp
5745420bb0 bin/1933: don't print negative % for huge files (80Mb) 1996-10-31 14:24:35 +00:00
Peter Wemm
fecaa12727 oops, uninitialised variable.. -v mode depended on stack contents.
Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920
1996-10-29 18:45:20 +00:00
Peter Wemm
accc8b5dba Clean up some loose ends on my previous work in here.. 1996-10-29 05:08:21 +00:00
Garrett Wollman
3e1c3ca6bb Eliminate unnecessary include of <sys/mbuf.h>. 1996-10-28 19:08:13 +00:00
Garrett Wollman
9086499893 Eliminate unnecessary include of <sys/mbuf.h>. PCBs aren't stored in mbufs
any more.
1996-10-28 18:56:44 +00:00
Joerg Wunsch
19bb578358 Don't dereference a free()ed pointer.
Closes PR bin/1909: 'last' coredumps if MALLOC_OPTIONS...
1996-10-28 07:47:34 +00:00
Alexander Langer
f64f27f9f6 Typo: to --> too. Fixes PR#1907.
Pointed out by:	Pat Lashley <patl@Phoenix.Volant.ORG>
1996-10-27 19:18:06 +00:00
Wolfram Schneider
c83667e68c Do not store character 30. I made a test at my CS department
and at least one user use this char in a file name. Older
locate implementions core'd.
1996-10-27 19:04:27 +00:00
Wolfram Schneider
4a90dceb95 $@ -> "$@", now ``mkdep "foo bar".c'' works.
Do not exit with status 0 if mkdep(1) cannot create output,
e.g. if .depend is not writable or the FS is readonly mounted.

Store arguments as comments for debugging purpose.
1996-10-27 15:53:18 +00:00
Wolfram Schneider
8fe31d5429 fix perl indention style 1996-10-27 15:50:40 +00:00
Alexander Langer
0adcbd83f1 Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).
Pointed out by:	bde
1996-10-26 15:29:24 +00:00
Alexander Langer
2d754ac864 sprintf --> snprintf
Use _PATH_DEV instead of hard coded "/dev/"

Obtained from:	OpenBSD, Jason Downs <downsj@OpenBSD.ORG>
1996-10-26 04:08:57 +00:00
Bruce Evans
97c71af856 Use the same format for the "expect N shift reduce conflicts" message
as in the one other place in /usr/src that prints such an "expect"
message (amd).
1996-10-25 15:50:17 +00:00
Andrey A. Chernov
136d3cf269 Change recently added diagnostics to more descriptive 1996-10-25 00:13:14 +00:00
Eric L. Hernes
124ccb3329 Teach file about:
1) our branded elf's
2) mpeg audio/video/system streams
3) compiled java classes
1996-10-24 15:49:51 +00:00
Adam David
bf2226a7db old host:/filename syntax was broken
implement /filename syntax for completeness
1996-10-24 00:15:44 +00:00
Andrey A. Chernov
a7230c69bf Rename FNM_ICASE to FNM_CASEFOLD 1996-10-23 16:46:47 +00:00
Andrey A. Chernov
6ab9285573 Check for not defined / redefined chars now
Use backward compatible with ASCII collating tables
1996-10-23 15:00:18 +00:00
Bill Paul
1fbf1a4630 Fix a core dump condition I discovered the other day (right
after I installed the last SNAP :). Because of the way the 'use NIS
or local?' logic is set up here, it was possible to force the use
of the NIS password changer even though the specified user didn't exist
in NIS (i.e. # passwd foo, where foo is a local-only user). In this
case, we fall intp yp_passwd() without the corresponding yp_password
structure being filled in, which leads to an NULL pointer dereference.

Also fixed the logic like I just did with chpass so that if the user
is both in NIS and the local password database, the program makes a
more sensible guess as to which one to use (if NIS is turned on in
/etc/master.passwd, then use NIS, else default to local).
1996-10-23 14:50:30 +00:00