Commit Graph

617 Commits

Author SHA1 Message Date
peter
8ad638ff9e Change dirty block list handling to use TAILQ macros. 1998-10-31 15:33:32 +00:00
jdp
dea39ed229 Per request from ache, change the numbering scheme of __FreeBSD_cc_version.
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
1998-10-29 22:11:08 +00:00
jdp
5eec3e3f20 Add a new predefined preprocessor symbol "__FreeBSD_cc_version",
with a numeric value that describes the feature level of the
compiler.  This can be used to check for the presence/absence of
FreeBSD-specific compiler features.  The value is a decimal number
whose digits have the form VRRRRFF, where:

	V    = Compiler vendor.  0 (elided) means gcc.
	RRRR = Vendor's version number, e.g., 2721 for the current
	       gcc version (2.7.2.1).
	FF   = FreeBSD-specific revision level.  00 means the stock
	       compiler from the vendor.

The value of "__FreeBSD_cc_version" is hard-coded in
"src/contrib/gcc/config/i386/freebsd.h" and must be incremented
when new FreeBSD-specific compiler features are added.  I considered
simply picking up the value of FreeBSD_version from <osreldate.h>.
But that would break cross compiles of gcc.

PR:		Part of the fix for gnu/8452
Suggested by:	bde
1998-10-29 04:27:06 +00:00
jkh
d68de0ddb3 Clarify a rather ambiguous debugging message. 1998-10-28 10:37:54 +00:00
obrien
d76017bab4 update to match reality 1998-10-25 22:34:33 +00:00
thepish
0f35482bf9 PR: 8429
Submitted by:		jkb@FreeBSD.ORG
correct typo in example
1998-10-24 10:08:05 +00:00
bde
6962466d08 "Fixed" a printf format error. Use bogus casts to avoid using %p so that
the output doesn't change (unless the old format caused runtime errors).
1998-10-17 16:14:00 +00:00
bde
b88b21c0d0 Fixed printf format errors. 1998-10-17 16:04:28 +00:00
bde
84db1eb2dc Fixed the type of a signal handler. 1998-10-17 14:47:00 +00:00
markm
3efdd441fb Fix minor bogon pointed out by perl5's own perldoc. 1998-10-11 17:27:33 +00:00
markm
ebd274b809 Cleanup. No need to install manpages here; no other system module
does it, and it is done /in toto/ elsewhere.
1998-10-11 17:23:34 +00:00
des
a776f469d1 By popular request, mention that mailq responds to the same options as
sendmail(8).

PR:		i386/8149
1998-10-07 19:45:36 +00:00
obrien
1ea3337a36 -v to show compiled in paths doesn't seem to exist.
PR:		docs/7912
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-10-04 11:09:08 +00:00
nate
75914bbe38 Fix 'noatime' bug that was unrelated to use of noatime.
The problem is caused when a directory block is compacted.  When this
occurs, softdep_change_directoryentry_offset() is called to relocate each
directory entry and adjust its matching diradd structure, if any, to match
the new location of the entry.  The bug is that while
softdep_change_directoryentry_offset() correctly adjusts the offsets of
the diradd structures on the pd_diraddhd[] lists (which are not yet ready
to be committed to disk), it fails to adjust the offsets of the diradd
structures on the pd_pendinghd list (which are ready to be committed to
disk).  This causes the dependency structures to be inconsistent with
the buf contents.  Now, if the compaction has moved a directory entry to
the same offset as one of the diradd structures on the pd_pendinghd list
*and* a syscall is done that tries to remove this directory entry before
this directory block has been written to disk (which would empty
pd_pendinghd), a sanity check in newdirrem() will call panic() when it
notices that the inode number in the entry that it is to be removed doesn't
match the inode number in the diradd structure with that offset of that
entry.

Reviewed by:	Kirk McKusick <mckusick@McKusick.COM>
Submitted by:	Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-03 19:17:11 +00:00
markm
d1cf67d6d8 Fix default location of *.ph file install.
Asked-for-by: ache
1998-10-01 19:17:58 +00:00
markm
eac014cf49 Whitespace cleanup. Probable patch cut 'n paste. 1998-10-01 19:16:20 +00:00
dfr
9abc86084b Rewrite the bits of the solib code to handle implentations where dlopen
may insert into the list of loaded libraries (ours is one) instead of
appending to the end of the list.  Also cope with dlclose() removing
libraries from the list.
1998-09-25 14:39:52 +00:00
markm
eb50082071 Part #1 of suidperl repair. 1998-09-24 17:20:46 +00:00
luoqi
10b8717849 Eliminate a race in VOP_FSYNC() when softupdates is enabled.
Submitted by:	Kirk McKusick	<mckusick@McKusick.COM>
Two minor changes are also included,
1. Remove gratuitious checks for error return from vn_lock with LK_RETRY set,
   vn_lock should always succeed in these cases.
2. Back out change rev. 1.36->1.37, which unnecessarily makes async mount
   a little more unstable. It also keeps us in sync with other BSDs.
Suggested by:	Bruce Evans	<bde@zeta.org.au>
1998-09-24 15:02:46 +00:00
jdp
b773a127ae Fix segmentation violation that sometimes occurred when warning
symbols were used.

PR:		bin/7980
Submitted by:	Doug Rabson <dfr>
1998-09-19 22:31:40 +00:00
phk
399a16928f s/the the/to the/
PR:		7922
Reviewed by:	phk
Submitted by:	Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
1998-09-17 08:56:03 +00:00
fenner
03014afd03 Merge tcpdump 3.4
PR:		bin/7877
1998-09-15 19:46:59 +00:00
fenner
577b5b88b3 This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.
1998-09-15 19:36:32 +00:00
fenner
cfc42b58f2 Virgin import of LBL tcpdump v3.4 1998-09-15 19:36:32 +00:00
fenner
eba95a7c80 Merge libpcap version 0.4
PR:		bin/7877
1998-09-15 19:31:43 +00:00
fenner
487207a9c4 This commit was generated by cvs2svn to compensate for changes in r39291,
which included commits to RCS files with non-trunk default branches.
1998-09-15 19:28:10 +00:00
fenner
ca0d84cb8b Virgin import of LBL libpcap v0.4 1998-09-15 19:28:10 +00:00
markm
aa2d4df340 Fix for the 2.2.7 a.out --> 3.0 ELF cross-build.
I need report backs on this one, guys!!
1998-09-15 10:55:21 +00:00
jdp
b100b6ea82 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
obrien
dd529a7ea9 Support our "nfsv2" option. (originally added to old amd/amd/host_opts.c
rev 1.5)
The "nfsv2" option is equivant to "proto=udp,vers=2".  It is debatable
whether NFS v2 should force "proto=udp" but I figure that is what most people
will expect.  Note, I can get the new Amd to mount a 2.2-STABLE box with
"proto=tcp,vers=2".  RFC 1094 does not disallow such behavior.
1998-09-14 08:20:37 +00:00
eivind
27ef9ec914 Support PnP compatibility IDs. This allow e.g. the ed driver to pick
up any PnP NE2000 compatible card, instead of forcing us to always
update ID lists.

Submitted by:	Ugo Paternostro <paterno@dsi.unifi.it>
1998-09-13 22:15:44 +00:00
wollman
06c50449fd Add a .St -p1003.1g. 1998-09-12 21:31:21 +00:00
alex
d5627d6fb4 Typo fix.
PR:		7906
Submitted by:	Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>
1998-09-12 16:55:54 +00:00
alex
2e9fa938d0 Typo fixes.
PR:		7904
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-12 16:39:32 +00:00
obrien
3c3a03dc00 Merge our older Amd manpages with the new am-utils manpages.
The am-utils manpages were un-mandocafied, un4.4BSD'ed with CSRG
copyrights regressed to 1989.

This work was done by Brian Handy who I am very greatful to.
(only a few minor tweaks by me)

Submitted by:	Brian Handy <handy@lambic.physics.montana.edu>
1998-09-12 04:04:59 +00:00
imp
ad467c4556 sprintf -> snprintf 1998-09-09 17:08:46 +00:00
imp
0a82f89ab6 Add alpha-*=freebsd* to configure 1998-09-09 17:07:36 +00:00
imp
587fe3b394 Use readlink correctly 1998-09-09 17:05:54 +00:00
obrien
05172643a8 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
markm
02d12b26cb Minimalist fixes to make BMaked perl build. 1998-09-09 13:10:47 +00:00
markm
2c552b4f87 This commit was generated by cvs2svn to compensate for changes in r38980,
which included commits to RCS files with non-trunk default branches.
1998-09-09 07:00:04 +00:00
markm
4fcbc3669a Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
jdp
5b11e2a2f4 Make profiling work for ELF. gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files.  I have split the object format specific code into separate
source files.  It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update.  A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.
1998-09-07 23:32:00 +00:00
alex
d449215303 Added .St -susv2 --> Version 2 of the Single UNIX Specification 1998-09-07 18:52:57 +00:00
jdp
5759d45767 Resolve conflicts from import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:00:35 +00:00
jdp
088484c9ef This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.
1998-09-06 22:57:45 +00:00
jdp
effee09f85 Import GNU binutils-2.9.1. This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by:	Doug Rabson <dfr>
1998-09-06 22:57:45 +00:00
asami
62802c2a94 Remove tcl from src/contrib. 1998-09-05 12:33:01 +00:00
obrien
557d4b6618 More sorting of references. 1998-09-05 06:56:36 +00:00
obrien
b799db6f1e MFO: rev 1.3 - correct man page xrefs. 1998-09-05 06:38:19 +00:00