Commit Graph

1199 Commits

Author SHA1 Message Date
steve
a43b707795 Fix for PR# 1095, make's continuation line handling buggy
when used with .elif.  Additional fixes include:

    - fix continuation line handling when using .for
    - plug up a memory leak
1996-09-22 02:28:36 +00:00
steve
29accf9e0f Fix for PR# 1427, yacc-generated parser generates warnings
with -Wall.  Tim's work with some minor additions by me.

Submitted by:	Tim Vanderhoek <hoek@freenet.hamilton.on.ca>
1996-09-22 02:05:53 +00:00
pst
365fa6d6f8 Fix some compilation warnings 1996-09-22 01:05:21 +00:00
pst
8ddc5c2acb Fix some compilation warnings. 1996-09-21 18:01:23 +00:00
steve
c2d4b0268c Fix for PR#1230, make ``.for'' loops iterate backwards. 1996-09-21 04:00:22 +00:00
nate
717bed3db1 More ts_nse -> tv_nsec changes following the kernel changes I made earlier.
Submitted by:	Chuck Robey <chuckr@glue.umd.edu>
1996-09-20 02:34:51 +00:00
phk
df8df7f441 For now we just hexdump the stuff in USER records. 1996-09-19 19:50:45 +00:00
phk
fcdb3184db The userland change to the utrace(2) call. 1996-09-19 19:50:17 +00:00
peter
43f6021163 Attempt to untangle the timeout code a bit, also make the default ftp
and http timeouts the same, since when using a http proxy to do ftp
transfers, the http timeout was being used for what is coming in via
ftp.
1996-09-19 18:07:24 +00:00
peter
ae3b6a683b Make fetch 64-bit safe, corresponding to libftpio changes.
Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>, PR#1641
1996-09-19 17:31:34 +00:00
phk
5f8eb47742 Make "ftp" a synonym for "open" 1996-09-19 08:16:47 +00:00
phk
75b39c00ce Make telnet a synonym for open 1996-09-19 08:15:56 +00:00
peter
89bb2f09ad Clean up dependencies a bit (we were not doing a depend on scan.c)
Make the 'bootstrap' target work a little better.
1996-09-19 05:21:07 +00:00
peter
4ef573301c Do not claim that tip is also called cu.
Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1639
1996-09-19 05:14:30 +00:00
wollman
df37b0422c Clean up style and formatting. The listing of options could still be
improved.
1996-09-18 16:48:54 +00:00
swallace
61bc096e33 Restore previous compatibility of ${.CURDIR}/obj.uname -m and
$(.CURDIR}/obj search while retaining compatability of new
prefix with cwd for the current source tree builds.
.TARGETOBJDIR has been removed from make and CANONICALOBJDIR set in
bsd.obj.mk

The builtin object directory searching is defined specifically as:

If MAKEOBJDIRPREFIX is defined, the search order is
${MAKEOBJDIRPREFIX}${.CURDIR}
${.CURDIR}

Else if MAKEOBJDIR is defined, the search order is
${MAKEOBJDIR}
${.CURDIR}

Otherwise, default to the search order
${.CURDIR}/obj.`uname -m`
$(.CURDIR}/obj
/usr/obj${.CURDIR}
${.CURDIR}

Reviewed by:	bde
1996-09-18 06:06:39 +00:00
phk
132596c18d Add '-C' "Canonical" format to hexdump:
$ hexdump -C /etc/resolv.conf
00000000 64 6f 6d 61 69 6e 20 64 6b 2e 74 66 73 2e 63 6f |domain dk.tfs.co|
00000010 6d 0a 6e 61 6d 65 73 65 72 76 65 72 20 31 34 30 |m.nameserver 140|
00000020 2e 31 34 35 2e 32 33 30 2e 31 30 0a             |.145.230.10.|
1996-09-16 21:18:48 +00:00
wosch
0db310bc8e #include <fastfind.c> -> #include "fastfind.c" 1996-09-16 01:17:25 +00:00
wosch
d403258fea remove unnecessary boundary check, 2x faster
code cleanup
1996-09-14 20:15:49 +00:00
roberto
cfb1047c90 Closes PR bin/1567
/usr/bin/lock can be used to lock a terminal much like xlock does
for your X-windows session.  Problem is, /usr/bin/lock cannot lock
your terminal indefinately.  Rather you must specify a timeout
value, after which, your terminal is unlocked and become unsecured.

I have added a ``-n'' no timeout option to /usr/bin/lock
Currently the only way to get this functionality is to use a huge
timeout value and hope it is long enought (in time).  This method
also requires you to know the maxium number of minutes you are
allowed to specify.

Submitted by:	David E. O'Brien <obrien@Nuxi.cs.ucdavis.edu>
1996-09-14 09:00:52 +00:00
bde
6ed5ccfb8f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
bde
5639f058b9 Fixed handling of `!=' assignment. Don't warn if the shell's output is
null, but warn if there was an error reading it.
1996-09-12 03:03:25 +00:00
pst
4ff1c6aa9b Close bin/2747: rdist accesses free()d memory 1996-09-11 01:39:55 +00:00
adam
99c3be59a5 YY --> CC 1996-09-10 21:19:56 +00:00
phk
fe6f3f9eab Add -c flag to fmt to center lines. 1996-09-10 19:50:23 +00:00
jkh
ccd8fb4fad Remove the code which has restart looking at the modtime. That's just
moronic!  We don't care about the time in restart mode, only the size.
It's *mirror* mode which cares about modtimes.
1996-09-10 19:49:41 +00:00
jfieber
3a2a3320ba Document the -f ps option.
Suggested by:	Jordan Hubbard <jkh@freebsd.org>
1996-09-09 14:15:28 +00:00
jfieber
91b974b96e Bye Bye sgmlsasp (and rast)! Frankly, I won't miss you. 1996-09-08 20:44:50 +00:00
jfieber
b9342257a1 This now uses instant(1) instead of sgmlsasp(2).
It now supports the latin1 and koi8-r groff devices for output.
1996-09-08 20:40:52 +00:00
joerg
7f766016b3 . make vgrind 8-bit clean; note that it still implicitly assumes
ISO-8859-1, since the characters are simply being passed on to
  groff
. introduce an option to override the silly default to `psroff' as
  the post-processor
. document the new option
1996-09-08 18:23:53 +00:00
jfieber
c6f20da17c Turn on instant. 1996-09-08 02:00:37 +00:00
jfieber
0f9d90ebea This commit was generated by cvs2svn to compensate for changes in r18145,
which included commits to RCS files with non-trunk default branches.
1996-09-08 01:55:10 +00:00
jfieber
38d1297524 Tool for manipulating SGML document instances. Replaces sgmlsasp. 1996-09-08 01:55:10 +00:00
phk
9640e2d9e8 remove devconf tools from make tree. 1996-09-06 23:07:35 +00:00
phk
ef1c38f974 Remove devmenu. Devconf never grew up. 1996-09-06 23:05:55 +00:00
jkh
adb8bc7102 Add a timeout flag so that failing operations can at least be caught
and flagged.  Closes PR#1513
Submitted-By: David Muir Sharnoff <muir@idiom.com>
1996-09-06 05:24:05 +00:00
julian
b740ca2195 make appletalk networks not show an un-needed host
part in displaying the routes.
1996-09-05 23:34:09 +00:00
guido
bdff9a8fc2 Document the existance of a configuration file for updatedb.
Fix a typo in the default rc file and add a comment about
default values.
1996-09-05 20:18:15 +00:00
bde
835e9e65dd Recovered from -Wall cleanup in ss_internal.h. This depended on
ss_internal.h bogusly declaring things in <stdlib.h>.
1996-09-05 18:20:47 +00:00
bde
ab9dad6cdf Finished adjustments for cleaning up declaration of zopen(). Moving the
declaration from <stdio.h> to "zopen.h" left it undeclared here.
1996-09-05 18:15:43 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
wpaul
38fd8fd26e Reset password change time to zero. (This has no effect with standard
RPC calls to rpc.yppasswdd, but when using the special superuser-only
AF_UNIX socket access method, the server will properly handle all the
additional fields, including pw_change.)

I would also like to take this opportunity to say that Sprint sucks.
1996-09-05 15:57:41 +00:00
jdp
b861646aff Make "file foo.core" print the program name properly again. 1996-09-05 15:55:57 +00:00
peter
ff7e508bb9 Be more careful with mmap. If it fails, fall back to a plain compare or
copy.

Dont leave stray INS@xxxx temp files around, especially when installing
something less than 8MB and the destination runs out of space, etc.

It still doesn't clean up the temp files on SEGV or other signals etc.
1996-09-05 07:54:08 +00:00
peter
f30b313a63 accidently removed the "dont compare > 8MB files hack".
didn't rewind the files after the read()s in the non-mmap compare.
1996-09-05 07:33:24 +00:00
peter
46847c4cdf Only attempt to mmap() files from a ufs or cd9660 fs for comparing or
installing.  mmap'ing stuff over a nfs mount took out my machine during
a 'make world' last night while I was asleep.  I started out with a list
of fs's to avoid, when I realised that I really didn't know which ones
were safe with mmap, so I went for the ones I knew and implemented a
fallback compare.
1996-09-05 07:27:43 +00:00
bde
22cf3c1924 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
bde
50b00557e0 Removed fib. It was never used, and is unusable without libforms, which
has already gone away.
1996-09-03 14:30:09 +00:00
peter
90c8dabe75 Fix -Wall warning in skeleton parser 1996-09-03 10:56:32 +00:00
joerg
ae3ee69e4d Make the yacc skeleton aware of C++. It was previously broken in the
YYDEBUG case (getenv() declared wrong).
1996-09-03 08:00:26 +00:00