christos
bb97544b1b
Fix bug reported by Greg Hudson where leaf (source only) nodes were
...
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles around
that try to work around this bug by prepending ${.CURDIR} to the sources,
and they should be found and fixed. Also a lot of the gunk in suff.c that
was attempting to work around the same problem could be removed.
1996-08-30 23:21:10 +00:00
thorpej
bbb4184355
Tidy up some RCS ids a bit.
1996-08-30 17:59:37 +00:00
abrown
091ed31b08
Add missing braces to for-loop to make compress work again after changes
...
between versions 1.9 and 1.10 (dumped core when not used as a filter).
1996-08-20 18:24:46 +00:00
christos
091b5c0118
Add estrdup(), a checked version of strdup and use it.
1996-08-13 16:42:00 +00:00
christos
22770fe8ea
Add strdup() since ultrix is missing it.
...
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:41:15 +00:00
christos
ba78477e9d
Various cleanups from: Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:40:31 +00:00
christos
1bc899a1ff
Protect __P from being multiply defined (for systems that already define it)
1996-08-13 16:39:30 +00:00
explorer
d54b3d99f1
call regfree() -- closes pr bin/2691.
...
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +00:00
explorer
661c82521c
clear the screen at the correct time to avoid leaving garbage on the screen.
...
This happens when switching from address to :numbers display.
From FreeBSD pr bin/1425.
1996-08-11 04:19:16 +00:00
explorer
1350e82a8f
remove nlist lookup of _dk_*
1996-08-11 04:16:28 +00:00
explorer
186c10db45
fix pr bin/2659 in a different way
1996-08-10 19:47:32 +00:00
thorpej
51956e9393
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
thorpej
27643ee095
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +00:00
mycroft
916902678d
Remove straggling references to dk_ndrive and dk_xfer.
1996-08-08 04:11:27 +00:00
explorer
00933138c8
Allocate space for 'ipcs -m' correctly; this floated across a FreeBSD
...
mailing list, and seems correct
1996-07-19 23:58:33 +00:00
thorpej
3aab4f7d4f
RCS id police.
1996-07-12 00:46:18 +00:00
thorpej
cf0afdf885
From Christos: kill the last bits of sprintf(), and use regcomp/regexec
...
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
1996-07-12 00:38:50 +00:00
thorpej
336eeb5f1c
Use snprintf() whenever feasible.
1996-07-12 00:06:32 +00:00
thorpej
145e30f8dd
Fix typo/thinko in last change: an occurrence of "while" should have
...
been a "for".
1996-07-03 23:17:51 +00:00
mrg
a2c61dd4d4
fix lossage caused by compress' usage of /dev/stdout and /dev/stdin
...
combined with the (broken?) versions of these files provided with
the fdesc mount. fixes PR#774 & PR#957.
1996-06-30 12:41:44 +00:00
christos
ca282f350d
Fix minor nits that prevented this to compile with a non ansi compiler.
1996-06-28 17:07:39 +00:00
mrg
779746748d
KNF.
1996-06-23 11:21:48 +00:00
mrg
00333c9e38
fix incorrect (dated?) comment.
1996-06-23 11:16:39 +00:00
mrg
c7ac10f4db
Deal with the case where `$TERM/<baudrate>' exceeds 1024 chars.
1996-06-23 11:09:32 +00:00
mrg
c9e514192e
look for USD.doc in the right place.
1996-06-23 05:59:51 +00:00
mrg
adc186a9c0
delete this file ONCE MORE. SIGH!
1996-06-23 05:51:30 +00:00
mrg
922d5cf939
delete these files ONCE MORE. SIGH!
1996-06-23 05:48:55 +00:00
mrg
62d4acd78d
snprintf() adds the last nul for us
1996-06-19 08:17:49 +00:00
mrg
08847f7836
use strncat/snprintf
1996-06-19 06:02:24 +00:00
cgd
418b1071e0
include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
...
intended.
1996-06-14 17:22:05 +00:00
christos
d89b74b288
Fix PR/2546: For non canonical input processing set VMIN=1,VTIME=0. Otherwise
...
things might not work if these are not set properly in the
current tty.
1996-06-13 19:59:31 +00:00
mrg
050b6cd211
pull in core-dump fix from bostic (part of nvi 1.67)
1996-06-10 12:39:47 +00:00
mrg
2a28f67a41
make "ex -s" work. massaged by bostic from pr#2518
1996-06-10 12:37:00 +00:00
mrg
19b430625c
fix bug in wrapsearch/command line args. from bostic.
1996-06-10 12:28:53 +00:00
jtk
bfd87b38e4
merge fix from 1.2 branch: pr#2438 on tn3270/libtelnet build fixes for domestic libtelnet
1996-06-09 16:09:56 +00:00
christos
88b833a7cd
- Fix PR/105: Implement dot locking protocol and check return value of flock.
...
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
thorpej
5db2537ade
Fix missing `)' in the sideways view of interfaces (i.e. netstat -w 1).
...
Bug pointed out by Chris G. Demetriou.
1996-06-07 21:43:26 +00:00
thorpej
8baabb16e5
RCS id police.
1996-06-07 01:39:10 +00:00
thorpej
2a295146f3
Discard setgid privileges if not reading the running kernel as suggested
...
by Mike Grupenhoff <ashmir@umiacs.umd.edu> in PR #2485 .
1996-06-07 01:36:39 +00:00
thorpej
cb237a9633
Discard setgid privileges if not reading the running kernel as suggested
...
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485 .
While I'm here, update for modern libkvm interfaces, and be more
careful to check for error conditions reported by kvm_read(3).
1996-06-07 01:26:38 +00:00
cgd
cbeadd1248
the kernel 'boottime' variable is a timeval. copy it out of kernel
...
memory as such (not as a time_t).
1996-06-05 00:18:58 +00:00
cgd
207dfda94d
bump MAXIF (the maximum number of interfaces for which information is kept,
...
for 'netstat -w <delay>') to 100, from 10. 10 was definitely not sufficient
for many hosts; 100 should be for most if not all. This code really should
dynamically allocate the information structures, based on the number of
interfaces in the kernel, account for interfaces that are added or removed,
etc., but given its current structure that would require substantial changes.
1996-06-04 20:22:23 +00:00
cgd
525c9d6e37
if doing 'netstat -I <intf> -w <delay>', and netstat can't find an
...
interface of the given name, print an error message and exit.
This whole section of code needs to be re-thought, if interfaces
can be dynamically added or removed.
1996-06-04 20:09:03 +00:00
christos
15d37e3539
Recognize SVR4 style long filename entries in archives.
1996-06-02 21:09:33 +00:00
mrg
988867d90a
we use /usr/sbin/sendmail
1996-06-02 04:53:40 +00:00
mrg
60b63d67e8
we do not want generated files.
1996-06-02 04:46:12 +00:00
mrg
89b7050608
oops, forgot to remove this.
1996-06-02 04:41:52 +00:00
thorpej
7a26f6a8ac
Pull down yp/xdr fixes from release branch.
1996-05-29 20:00:52 +00:00
christos
62be8b7e25
Fix bug where make will always exit with 0, even when one or more parallel
...
jobs failed. (Only affects parallel make code)
1996-05-29 15:28:05 +00:00
christos
5c1983c016
- Move -D flags from Makefile to config.h and explain what they do. Add
...
-Wall -Wno-unused to CFLAGS. Add new define SYSVVARSUB to enable SysV
style variable substitutions and enable them.
- Add SunOS style command substitutions via SUNSHCMD
- Fix core dump with '{variable = value'
1996-05-28 23:34:35 +00:00