Commit Graph

7036 Commits

Author SHA1 Message Date
nate
f793dc61f0 Removed /usr/local/lib from the standard library search path to be
consistant.  Programs shouldn't rely on non-standard paths for bringing
in default libraries.

Suggested by:	Andreas Schulz <ats@freebsd.first.gmd.de>
1995-03-19 21:20:09 +00:00
ats
7d7c5f1aa2 Correct one little typing error from Rod :-).
lib/lib/pcap -> lib/libpcap.
1995-03-19 17:24:24 +00:00
dg
e468f7aa17 Removed redundant newlines that were in some panic strings. 1995-03-19 14:29:26 +00:00
dg
a0329ca7e4 Backed out change to panic call: As Chris just pointed out to me, panic()
does indeed work like printf(). gdb gets the string untranslated for some
reason.
1995-03-19 13:44:03 +00:00
joerg
64f6ab9a89 Finally applying my own fix. :-)
>Description:

ctm(1) sometimes did not free up all used resources (open pipes and
processes, heap memory).  This happened whenever one of the passes
ended prematurely, and it became very apparent when running it on
a bunch of already applied deltas, resulting in a ``gunzip: resource
temporarily unavailable'' due to the maxproc # exhausted.
1995-03-19 13:42:54 +00:00
joerg
8a76bd6237 libkvm exports kvm_uread(), so do declare it in the header file.
Got apparent by Philippe's -Wall patch for /usr/bin.
1995-03-19 13:36:49 +00:00
joerg
1e23314df2 Cast the offset of one call to lseek() to off_t, as it's already done
in all other places here.

This is a hack, the interface should be changed to use off_t's
everywhere around, but this will require to update all the programs
that happen to use libkvm.
1995-03-19 13:33:05 +00:00
joerg
6330608063 You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	charnier@lirmm.fr (Philippe Charnier)
1995-03-19 13:29:28 +00:00
dg
bd70a780f0 Fix from Doug Rabson: Don't try to release a pbuf we didn't get.
Minor style change by me.
1995-03-19 13:28:54 +00:00
ats
a250fca783 Change the xmkmf call to a xmkmf -a call. This should be more correct for
all X11R5 and X11R6 ports. This is the way how it should be normally
used according the manuals. Only pre-X1R5 ( X11R4, X11R3) ports can't
handle it.
1995-03-19 12:49:06 +00:00
dg
1bda4b7999 Incorporated 4.4-lite vnode_pager_uncache() and vnode_pager_umount()
routines (and merged local changes). The changed vnode_pager_uncache
gets rids of the bogosity that you can call the routine without
having the vnode locked. The changed vnode_pager_umount properly locks
the vnode before calling vnode_pager_uncache.
1995-03-19 12:36:10 +00:00
dg
e8478fc460 Removed bogus, commented out, call to vnode_pager_uncache(). 1995-03-19 12:11:13 +00:00
dg
b6615d591a Removed unnecessary call to vnode_pager_uncache(). We automatically clear
the VTEXT flag after all mappers have finished with the object.
1995-03-19 12:08:03 +00:00
roberto
8456768f30 Add a missing "\" in a printf before the "n". 1995-03-19 12:01:23 +00:00
dg
c661314203 Moved call to vnode_pager_uncache in rename() to before the VOP_RENAME.
It was previously after the VOP_RENAME and the reference and lock on
the vnode had already been lost, allowing interesting internel
inconsistencies. This is one of the two reasons why freefall was crashing
every hour or two (the other being nullfs bugs).
Don't call vnode_pager_uncache in revoke(). revoke() is only allowed on
VCHR and VBLK vnodes.
1995-03-19 11:16:58 +00:00
joerg
2bfd0d7619 Make the catman command (in the commented-out example) run by user `man'
instead of `root'.
1995-03-19 10:10:42 +00:00
dg
54c6ea1795 Fix a call to panic: panic doesn't do token substitution on the panic
string.
1995-03-19 09:47:32 +00:00
dg
f30b687936 Patch from Kirk McKusick to fix a bug introduced in the Poul's vfs_cache
rewrite.
1995-03-19 09:33:51 +00:00
rgrimes
3014453ffb Add installation of include files from libpcap. 1995-03-19 08:23:47 +00:00
phk
e4b39c9629 Make newvers.sh usable from other places... 1995-03-19 07:25:41 +00:00
phk
8d1b91d12b Create osreldate.h from sys/conf/newvers.sh if we an find it. This
should take a completely ridiculous reboot out of the "make release"
process...
1995-03-19 07:25:17 +00:00
phk
628fac966c add a couple of missing #include lines 1995-03-19 07:00:52 +00:00
phk
516c390a8d add a \t which has been nagging me too long 1995-03-19 06:28:48 +00:00
wpaul
919834e961 Two major changes:
- Added support for reading netgroups from NIS/YP in addition to the
local /etc/netgroups file. (Note that SunOS and many other systems only
support reading netgroups via NIS, which is a bit odd.)

- Fix Evil Null Pointer Dereferences From Hell (tm) that caused
parse_netgrp() to SEGV when expanding netgroups that include
references to other netgroups. Funny how nobody else noticed this.

This is the first step in implimenting +@netgroup substitution in
getpwent.c and any other places that could use it and don't already
support it (which is probably everywhere).
1995-03-19 06:16:03 +00:00
phk
b0536fda0f And all serial chars with 0x7f to discard parity bits. 1995-03-19 06:10:32 +00:00
phk
87f8375981 Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. 1995-03-19 06:09:01 +00:00
swallace
8b70833385 Add back SNDCTL_DSP_SETBLKSIZE ioctl code that got zapped.
Submitted by:	Jim Lowe <james@miller.cs.uwm.edu>
1995-03-18 20:01:10 +00:00
dg
c01105baf4 Don't sync the inode date changes of character special devices
during the FS sync. The system would appear to hang momentarily
if there was a large backlog of I/O. This is because the vnode
remains locked during the output - preventing normal character
I/O. The problem was exacerbated by the FFS contiguous block
allocation fixes and a semi-broken disksort(). The inode/date
will still be synced during a normal FS dismount and whenever
the inode is changed for other reasons.
1995-03-18 18:03:29 +00:00
ache
1c7a1623e8 Fix authunix_maxgrouplist test
Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
1995-03-18 17:55:03 +00:00
ache
9948bf8ef8 Fix sparse files handling
Submitted by: Alan Bawden <alan@curry.epilogue.com>
1995-03-18 17:45:13 +00:00
bde
5f09d26e4a Restore the 4.4lite version which apparently was clobbered by a repository
copy.  The differences are trivial.  I have no backups of the clobbered
history.
1995-03-18 17:38:43 +00:00
nate
1c0091e1f1 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:36:30 +00:00
nate
29375b3546 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:18:15 +00:00
bde
b55b554a28 Obtained from: 1.1.5 (originally by Andrew Moore)
Add the manpage for the stuff in <machine/floatingpoint.h>.
1995-03-18 16:54:35 +00:00
phk
23a0b91cfe Fix the Name-cache counters. I didn't realign the negative hits. 1995-03-18 08:55:15 +00:00
rgrimes
93c2dca070 Remove private mkdir for /usr/include/ss, no handled by mtree. 1995-03-18 08:34:42 +00:00
rgrimes
fdc4d793c8 Create /usr/share/games/quiz.db via mtree and remove private mkdir command
from Makefile.
1995-03-18 08:30:48 +00:00
rgrimes
0e058a8546 Add Intel EtherExpress16 (ix0) driver.
Reviewed by:
Submitted by:
Obtained from:
1995-03-18 08:12:48 +00:00
phk
1cb148c0c1 Add "ix0" Intel EtherExpress. 1995-03-18 08:04:18 +00:00
dg
ed6bfc798a Woops, add back that #define...it's used later in the file. 1995-03-18 07:06:51 +00:00
rgrimes
13f19ea7f2 Correct chmod of /usr/include/rpcsvc to match mtree file. 1995-03-18 07:04:23 +00:00
rgrimes
8e75a078ce Temporarily add mkdir/chown of /usr/include/${LUDIR} so that things
are consistent with the mtree file.  These and all other mkdir/chown/
chmod calls shall be removed in a future version of this file.
1995-03-18 07:03:51 +00:00
rgrimes
6c68c2f822 Use new mtree file to rebuild /usr/include. 1995-03-18 07:02:10 +00:00
rgrimes
fe2ab503b7 Use new mtree file to rebuild /usr/include.
Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.
1995-03-18 07:01:53 +00:00
nate
65de51ac02 Don't rely on the shared library bringing in libmd, do it explicitly.
Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 06:50:00 +00:00
nate
d4f9bb4f44 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 06:41:08 +00:00
dg
78101c9119 Fixed comments and removed b_cylinder #define. 1995-03-18 06:38:04 +00:00
dg
917bf0ee85 Integrated change from 1.1.5: Fixed broken disksort to sort by pblkno
rather than by cylinder.
1995-03-18 06:32:48 +00:00
wpaul
26fc511bcc Fix 'putting +: in /etc/group causes many programs to dump core' bug
by heading off possible null pointer dereferences in grscan(). Also
change getgrnam() slightly to properly handle the change: if grscan()
returns an rval of 1 and leaves a '+' in the gr_name field and YP is
enabled, poll the YP group.byname map before giving up. This should
insure that we make every effort to find a match in the local and
YP group databases before bailing out.
1995-03-18 05:03:10 +00:00
ache
b1dc3c9d60 Don't use user PATH into environment for sec reasons 1995-03-18 02:19:25 +00:00