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
jkh
36706f9cf0
Clean up more bogons:
...
1. Add a copyright at the top.
2. Make passive and binary modes work with new ftpio semantics.
3. Add a `mirror' (-m) flag which only copies the remote file if it's
not the same size or is newer.
1996-06-22 21:42:14 +00:00
jkh
7b161df218
Address Andrey's complaints:
...
1. Always use file modtime, and if that's not usable then default
to current time.
2. Allow HTTP_TIMEOUT to be set as an environment variable to override
default.
3. Handle SIGTERM.
1996-06-22 20:16:57 +00:00
jraynard
db063d0d54
Document the fact that it only works if the trace record is a regular file.
1996-06-22 02:15:28 +00:00
adam
5714dd98d0
added fetch
1996-06-20 17:47:24 +00:00
nate
b7dde76ce7
Whoops, forgot one FreeBSD specific change necessary for the lex .mk
...
macros to work.
1996-06-19 22:25:32 +00:00
jkh
62df2aaf01
Remove ncftp
1996-06-19 21:13:45 +00:00
jkh
756718209f
Nuke this thing.
1996-06-19 21:13:05 +00:00
nate
d4f014461b
Finish the import and merge in FreeBSD specific changes.
...
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
1996-06-19 20:48:06 +00:00
jkh
5ef1dc8eac
Add a newline - it seems to want it.
1996-06-19 20:36:35 +00:00
nate
d87c52cefc
This commit was generated by cvs2svn to compensate for changes in r16514,
...
which included commits to RCS files with non-trunk default branches.
1996-06-19 20:26:48 +00:00
nate
abbed305c8
Flex version 2.5.3 from Vern Paxson at LBL.
1996-06-19 20:26:48 +00:00
dg
707c90b7b6
Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing with
...
continuation lines.
Submitted by: Keith Bostic via Kirk McKusick
1996-06-19 11:20:07 +00:00
jraynard
30b42b6dff
Merged in 4.4Lite2 versions, added $Id$'s. The ktrace changes should
...
fix the garbage error messages printed out under certain circumstances.
1996-06-19 09:56:30 +00:00
asami
adda55c714
This commit was generated by cvs2svn to compensate for changes in r16504,
...
which included commits to RCS files with non-trunk default branches.
1996-06-19 09:32:11 +00:00
asami
b0bc5b5357
Jean-Marc's url fetch program, with Josh MacDonald's patches and
...
Jordan's ftpio library.
Submitted by: jmz, jkh, jmacd (three-j!)
1996-06-19 09:32:11 +00:00
ache
aa108247fd
Do not print herror message, if w -n gethostname failed to be 100%
...
compatible with any program
Suggested by: peter
1996-06-17 20:07:44 +00:00
ache
6e9cd1d33a
Fix xterm/screen/(any program using just :xxx form) compatibility
1996-06-17 19:23:38 +00:00