Commit Graph

1085 Commits

Author SHA1 Message Date
jkh
6d6a5bd8e1 Close PR#1455. In a couple of weeks, I'll change bsd.lib.mk to use
tsort -q as well - I don't feel like adding tsort as Yet Another Item to the
bootstrap target.
1996-08-02 04:50:44 +00:00
jdp
f05fb79839 Fix a bug under time's "-l" option. The values reported for average
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100.  The correct value is the frequency
of the statistics clock, currently 128.  The program now uses sysctl
to get the stathz value from the kernel.

Discussed with:	bde@freebsd.org (Bruce Evans)
1996-07-30 19:00:12 +00:00
adam
e46c6e5f4a one file somehow slipped by me in the previous commit
tidy up
1996-07-30 15:44:30 +00:00
adam
e46b438575 when file can be opened for read but cannot be read from:
fail once (was twice) in forward case
fail once (was no times) in reverse case

this can happen when file is a directory on an NFS or procfs mount.
1996-07-30 13:11:43 +00:00
wosch
f837393b70 ree (aka ee) doesn't have a man page
Submitted by:	 Philippe Charnier           charnier@lirmm.fr
1996-07-29 13:46:12 +00:00
pst
7c327b7d27 Add newline, closes bin/1433 1996-07-26 23:45:36 +00:00
pst
ce6b6b7927 Add Bruce's improvement to security patch 1996-07-25 18:27:40 +00:00
wollman
3d45bf42be Fix an itinerant cross-reference. 1996-07-25 18:11:30 +00:00
julian
16ad55d2ab Submitted by: archie@whistle.com
slight cleanups on yesterday's patches
1996-07-23 22:00:14 +00:00
nate
7737f5d2e9 'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make.

% make
make: make: no target to make.

%

Beause the function Punt() in main.c takes care of leading 'make:' and
trailing newline, so, there is no need to pass explicitly.

Submitted by:	enami@ba2.so-net.or.jp
Obtained from:	NetBSD GNATS
1996-07-23 18:55:21 +00:00
julian
7805978130 Submitted by: archie@whistle.com
appletalk cleanups
1996-07-23 01:18:47 +00:00
jdp
699492bba8 Fix botches in the handling of "AM" and "PM":
12:xx PM is 12:xx, not 24:xx.
    12:xx AM is 00:xx, not 12:xx.
1996-07-19 00:44:55 +00:00
joerg
81a254ffb3 s/msg/shm/ for one variable.
Submitted by:	jin@george.lbl.gov (Jin Guojun[ITG])
1996-07-18 20:42:48 +00:00
jkh
df5a608d70 Whups - update the usage message too. 1996-07-18 00:08:58 +00:00
jkh
dc8c550225 Add -n flag to use the current modtime rather than preserving it. 1996-07-18 00:08:02 +00:00
bde
8c325c27d2 Yet^2 another fix for the line continuation bug.
The fundamental problem with the original code is that it accesses
p[-2] which is one before the beginning of the input buffer for
empty lines.  rev.1.6 just moved the problem from failures when
p[-2] happens to be '\\' to failures when it happens to be '\0'.
rev.1.5 was confused about the trailing newline and other things.

I went back to rev.1.5 and fixed it.  The result is the same as
Keith Bostic's final version in PR 1356 except it loses more
gracefully for excessively long input lines.
1996-07-17 12:18:51 +00:00
bde
eee2e98b23 Added a -V option to print make's idea of the value of a variable.
Submitted by:	mark@linus.demon.co.uk (Mark Valentine)

Fixed bugs and inconsistencies in synopsis and usage message.
1996-07-17 11:02:43 +00:00
pst
bf393959c2 Do a bounds check on the strcpy of environment variables onto the stack. 1996-07-15 16:29:03 +00:00
guido
9b11efaab1 Move setting of username to the correcft place; also initialize it.
Reviewed by:	peter@freebsd.org
1996-07-14 16:42:33 +00:00
jkh
730964efd2 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
nate
214f4abc72 Changed all sprintf() calls to snprintf().
Obtained from:	Christos Zoulas <christos@deshaw.com> via NetBSD PR 2621,

[ slightly modified since we don't use libcompat anymore. ]

I'm not sure if this fixes the rdist security bug completely, but it
sure can't hurt!
1996-07-12 04:00:15 +00:00
julian
9277e63302 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
julian
0c208df31d appletalk cleanups
e.g.
Active ATALK connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
ddp        0      0  [69.230]130            [*.*]*
ddp        0      0  [69.230]128            [*.*]*
ddp        0      0  [69.230]1              [*.*]*

etc..
1996-07-09 02:55:47 +00:00
jkh
e6f22d1cfb New magic file with more politically correct identification of objects
and execs.
Submitted-By: Brent Nordquist <nordquis@winternet.com>
1996-07-05 19:26:52 +00:00
jkh
3bfb590a22 New man page for fetch(1).
Submitted by: jmz (with some small tweaks)
1996-07-05 01:03:20 +00:00
jmz
557b0ffde9 Back out previous commit: do not use read(), but fread (). Change BUFFER_SIZE
to 1K to avoid waiting too long between 2 progress reports in the case of a
slow transfer.
Move the signal()/setitimer() code just before the read loop because the
ftpio library set and reset the timer internally.
1996-07-05 00:06:36 +00:00
mpp
e8b984806f Document how chat logis it information via syslog.
Submitted by:	Partially based on a patch by Mark Diekhans
1996-07-03 02:27:30 +00:00
mpp
0283c0d756 Document login's use of /etc/login.access.
Submitted by:	David E. O'Brien
1996-07-03 01:20:09 +00:00
wosch
ce5be25578 remove zopen, zopen is not part of libc. 1996-07-02 23:04:50 +00:00
jmz
64422261a0 Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input. 1996-07-02 01:49:47 +00:00
jkh
8d17fabf36 Put back the $PWD override behavior of revision 1.4. The concensus
*seems* to be that it was the right thing to do.
1996-07-01 22:55:57 +00:00
guido
70bae2bee1 Implement incremental passwd database updates. This is done by ading a '-u'
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
1996-07-01 19:38:50 +00:00
wosch
6147912add Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
wosch
662bf44fe2 Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
joerg
e6299bb9a7 Do always create ktrace.out with mode 0600, to prevent it from
accidentally compromising information confidential to the user running
ktrace.
1996-06-30 09:40:44 +00:00
phk
2a36059e6a Add tclsh to Makefile.
(If you havn't updated your supfile Make world will croak.  CTM is ok)
1996-06-28 05:36:32 +00:00
jkh
f77db63be9 Remove code which overrode the opinion of getcwd() with an often bogus
value for $PWD.
1996-06-27 21:59:25 +00:00
nate
3b624192af Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00
gpalmer
b99c167c70 Add -Wall to CFLAGS 1996-06-26 20:49:41 +00:00
phk
f23b1b2ca4 bmaked tclsh 1996-06-26 17:52:19 +00:00
dg
db69ec2618 Yet another fix for the line continuation bug in sed. Keith's patch
introduced a new bug. This fix appears to work correctly. Fixes PR#1350.

Submitted by:	mark@linus.demon.co.uk (Mark Valentine)
1996-06-26 05:54:32 +00:00
jmallett
9ca4dee9f5 This commit was generated by cvs2svn to compensate for changes in r16748,
which included commits to RCS files with non-trunk default branches.
1996-06-26 05:36:21 +00:00
jmallett
b0d58df5bf Import OpenBSD m4 as of today. 1996-06-26 05:36:21 +00:00
ache
c9f677c96f Make GET request and response parsing HTTP/1.0 compatible 1996-06-25 21:33:18 +00:00
jkh
8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
jmz
85adcb8a3f Do not exit if ftpGetSize() returns a value < 0. You may well try to
fetch a whole <directory>.tar.gz on a server running wu-ftp.
1996-06-24 01:03:05 +00:00
bde
bbeb8f4943 Run the headers through cpp -dM to find the #defines. The direct search
has been broken at least since 4.4Lite moved most of the #defines out of
<sys/ioctl.h>.  This should be done better.  Only a few headers are
searched.

Added some #includes so that ioctl.c compiles.  The networking headers
have a maze of undocumented interdependencies and ioctl.c now actually
supports networking ioctls.
1996-06-23 17:05:10 +00:00
bde
54d26451a2 Made strip failures fatal. This fixes PR 1328. 1996-06-23 12:59:18 +00:00
bde
5dad8408ab Removed rubbish that stopped usr.bin/ncftp from going away. 1996-06-23 10:38:15 +00:00
jkh
694ef53b8b Adjust the copyright to match reality, remove printing of gratuitous newline. 1996-06-22 23:24:13 +00:00