Commit Graph

892 Commits

Author SHA1 Message Date
Steve Price
53315286b9 Comment out empty "BUGS" section.
PR:		8121
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1998-12-10 02:47:05 +00:00
Steve Price
0518ce8c9f Remove duplicate entries for -N and -S commandline switches.
PR:		8120
Submitted by:	Horihiro Kumagaio <kuma@jp.freebsd.org>
1998-12-10 02:43:29 +00:00
Steve Price
b1f9d316fb Typo fix: "whether on not" -> "whether or not".
PR:		8102
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-12-10 02:30:52 +00:00
Steve Price
05eea124e9 Typo fix.
PR:		8034
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-12-10 01:37:43 +00:00
Bill Fumerola
7765322868 Balance the brackets.
PR:		docs/8505
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-08 22:49:08 +00:00
David E. O'Brien
e6f93514c8 The \*(td string macro, which is supposed to display today's date in the form
"October 14, 1998".  A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.

PR:		gnu/8321
Reviewed by:	Andrew J. Korty <ajk@purdue.edu>
1998-12-06 05:54:26 +00:00
Bill Fumerola
26255a3cd5 The explanation shows "-V" as being 'verbose' correct this to "-v"
PR:		docs/8892
Submitted by:	Hirayama Issei <iss@mail.wbs.ne.jp>
1998-12-03 19:54:43 +00:00
Matthew Dillon
467e41453a Fixed typo in previous commit. oops. 1998-12-03 07:25:13 +00:00
Matthew Dillon
da1852b35a Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.org
Add '-g' main option to cvs to better support shared-group access
    to a common checked-out *working* set by multiple users.  See manual
    page for details.
1998-12-03 07:22:44 +00:00
Bill Fumerola
79a07699e7 ".Mn mountd" -> ".Nm mountd" which now makes the instructions accurate.
PR:		docs/8525
Submitted by:	Norihiro Kumagai <kuma@jp.FreeBSD.org>
1998-11-30 23:21:24 +00:00
Bill Fumerola
a4fe0fb18d Grammer fix and style nits.
PR:		docs/8879
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-11-30 22:25:24 +00:00
John Polstra
9748c8ad8f Remove files that we don't use and are unlikely to use. You can
still get them with "cvs upd -r pam_unpruned" if you want to look at
them.
1998-11-25 19:46:10 +00:00
Doug Rabson
d24b518319 Port top to the alpha.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-11-25 09:45:28 +00:00
David E. O'Brien
6ab6e16962 xfer typo
PR:				docs/8723
Submitted by:	Junji SAKAI <sakai@jp.freebsd.org>
1998-11-20 08:12:05 +00:00
David E. O'Brien
04bcfffb8b amq.8 contains typos
PR:				docs/8433
Reviewed by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-11-20 08:09:34 +00:00
David E. O'Brien
8e075b1204 Not part of AM-UTILS any longer. Should be build from fixrmtab.in. 1998-11-20 05:21:40 +00:00
John Polstra
41058e060e Eliminate a setreuid() call that doesn't make sense for FreeBSD.
We don't use this module, but still I don't want to leave this call
in the code.
1998-11-18 01:24:34 +00:00
John Polstra
06b963fe1a Fix #includes for FreeBSD. 1998-11-18 01:22:46 +00:00
John Polstra
0c6b630e95 Don't call openlog() and closelog(). Assume that the application
takes care of that.
1998-11-18 01:21:46 +00:00
John Polstra
4adeb82df8 s/Linux-PAM/PAM/g 1998-11-18 01:20:54 +00:00
John Polstra
8999aed3f1 This commit was generated by cvs2svn to compensate for changes in r41220,
which included commits to RCS files with non-trunk default branches.
1998-11-18 01:16:21 +00:00
John Polstra
fff5887d38 Initial import of virgin Linux-PAM 0.65, slightly stripped down. 1998-11-18 01:16:21 +00:00
John Polstra
4f7c48c192 Initial revision 1998-11-18 01:16:19 +00:00
Jacques Vidrine
8d05cc8419 vmunix -> kernel
PR:		port/8543
Submitted by:	jkb@best.com
1998-11-16 04:25:03 +00:00
Andrey A. Chernov
a0f25b5561 Prevent MakeMaker to produce /usr/local/local/bin path for
INSTALLSCRIPT and INSTALLBIN: it broke ports
1998-11-15 15:26:12 +00:00
David E. O'Brien
d10255201a update for latest vendor import 1998-11-14 03:37:59 +00:00
David E. O'Brien
e2ee784d30 Clean up conflicts. 1998-11-14 03:13:33 +00:00
David E. O'Brien
37d7e39316 Virgin import of AMD (am-utils) v6.0b1 1998-11-14 03:11:37 +00:00
David E. O'Brien
4c5751da9f This commit was generated by cvs2svn to compensate for changes in r41142,
which included commits to RCS files with non-trunk default branches.
1998-11-14 03:11:37 +00:00
Peter Wemm
2ec07c6614 Change dirty block list handling to use TAILQ macros. 1998-10-31 15:33:32 +00:00
John Polstra
34ff484bfc 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
John Polstra
98bf848b69 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
Jordan K. Hubbard
2dcc2f0693 Clarify a rather ambiguous debugging message. 1998-10-28 10:37:54 +00:00
David E. O'Brien
9de87aa445 update to match reality 1998-10-25 22:34:33 +00:00
Peter Hawkins
db4ce352d0 PR: 8429
Submitted by:		jkb@FreeBSD.ORG
correct typo in example
1998-10-24 10:08:05 +00:00
Bruce Evans
b7db722f78 "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
Bruce Evans
1ec86adf67 Fixed printf format errors. 1998-10-17 16:04:28 +00:00
Bruce Evans
234e2f5964 Fixed the type of a signal handler. 1998-10-17 14:47:00 +00:00
Mark Murray
a4e5855509 Fix minor bogon pointed out by perl5's own perldoc. 1998-10-11 17:27:33 +00:00
Mark Murray
24cafe721c 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
Dag-Erling Smørgrav
dea468b2e9 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
David E. O'Brien
96136e4f8a -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 Williams
ed8d80c2de 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
Mark Murray
9c9bdebb92 Fix default location of *.ph file install.
Asked-for-by: ache
1998-10-01 19:17:58 +00:00
Mark Murray
40b57f3d1f Whitespace cleanup. Probable patch cut 'n paste. 1998-10-01 19:16:20 +00:00
Doug Rabson
d5f1f6d3be 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
Mark Murray
5c17a87bef Part #1 of suidperl repair. 1998-09-24 17:20:46 +00:00
Luoqi Chen
e266594c25 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
John Polstra
25352982e7 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
Poul-Henning Kamp
982fe76ef9 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
Bill Fenner
699fc31439 Merge tcpdump 3.4
PR:		bin/7877
1998-09-15 19:46:59 +00:00
Bill Fenner
90dc276c84 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
Bill Fenner
4644f044b2 Virgin import of LBL tcpdump v3.4 1998-09-15 19:36:32 +00:00
Bill Fenner
dfd1ee14ff Merge libpcap version 0.4
PR:		bin/7877
1998-09-15 19:31:43 +00:00
Bill Fenner
4e4869f856 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
Bill Fenner
a4b5b39fce Virgin import of LBL libpcap v0.4 1998-09-15 19:28:10 +00:00
Mark Murray
110a65c26d 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
John Polstra
4f7bdec1e8 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
David E. O'Brien
a0279c111f 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 Eklund
dfef928b1c 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
Garrett Wollman
f0da769a73 Add a .St -p1003.1g. 1998-09-12 21:31:21 +00:00
Alexander Langer
9c4d47b9e1 Typo fix.
PR:		7906
Submitted by:	Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>
1998-09-12 16:55:54 +00:00
Alexander Langer
0a46a99270 Typo fixes.
PR:		7904
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-12 16:39:32 +00:00
David E. O'Brien
f4208b7ea8 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
Warner Losh
a4c0f3bc90 sprintf -> snprintf 1998-09-09 17:08:46 +00:00
Warner Losh
a556fde0bc Add alpha-*=freebsd* to configure 1998-09-09 17:07:36 +00:00
Warner Losh
74542ae78c Use readlink correctly 1998-09-09 17:05:54 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
Mark Murray
39ab139322 Minimalist fixes to make BMaked perl build. 1998-09-09 13:10:47 +00:00
Mark Murray
ff6b7ba98e Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
Mark Murray
7744993bbc 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
John Polstra
5584f22bb3 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
Alexander Langer
805749c0db Added .St -susv2 --> Version 2 of the Single UNIX Specification 1998-09-07 18:52:57 +00:00
John Polstra
0a225ac59d Resolve conflicts from import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:00:35 +00:00
John Polstra
f3c0afbfb0 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
John Polstra
914f9af1ba 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
Satoshi Asami
140a040ae3 Remove tcl from src/contrib. 1998-09-05 12:33:01 +00:00
David E. O'Brien
c2e6b42316 More sorting of references. 1998-09-05 06:56:36 +00:00
David E. O'Brien
173d7ad5bd MFO: rev 1.3 - correct man page xrefs. 1998-09-05 06:38:19 +00:00
David E. O'Brien
f6a4cf41ea compare getopt() with -1, not EOF 1998-09-05 06:06:00 +00:00
David E. O'Brien
d5f8a55d70 MFO rev 1.4 - sort cross references 1998-09-05 05:52:24 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
David E. O'Brien
68f65204d5 Don't assume that time_t is long.
(from rev 1.4 by bde of old AMD)
1998-09-04 04:42:28 +00:00
Brian Somers
ec28eec908 This is AMD.CONF, not AMQ.CONF 1998-09-02 21:07:47 +00:00
Gary Palmer
f58619de89 Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
John Birrell
8472e43276 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +00:00
Peter Hawkins
3cf9b7ae04 PR: 7741
Submitted by:	Hellmuth Michaelis <hm@kts.org>
add LCP/PAP/CHAP/IPCP frame printing functionality
1998-08-30 05:32:44 +00:00
John Polstra
8e5e92d80e This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by:   "David O'Brien" <obrien>
1998-08-28 04:55:53 +00:00
John Polstra
5297a0bee0 This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by:	"David O'Brien" <obrien>
1998-08-28 04:53:23 +00:00
David E. O'Brien
1726a7acaf rpcgen our own mount.h, nfs_prot.h, mount_xdr.c, and nfs_prot_x.c
for NFSv3 support
1998-08-27 07:33:23 +00:00
David E. O'Brien
11fbd93222 accidently changed some white space 1998-08-27 07:25:25 +00:00
David E. O'Brien
13bcc37c02 Properly create db files vs. dbm files.
Obtained from:	NetBSD
1998-08-27 02:56:47 +00:00
Bruce Evans
0f79d73473 Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.

Fixed a message - don't warn about the field width when it's the
precision that has the wrong type.  Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
1998-08-24 06:33:52 +00:00
David E. O'Brien
274bbe3187 * Check getopt()'s return with -1, not EOF
* protect a few potential buffer overflows

Obtained from:	NetBSD
1998-08-23 22:52:09 +00:00
David E. O'Brien
aad735d675 more files we don't need. 1998-08-23 22:51:11 +00:00
David E. O'Brien
2020f841b6 Two more files FreeBSD doesn't need. 1998-08-23 22:43:27 +00:00
David E. O'Brien
104d85584f upgrade instructions. 1998-08-23 22:09:19 +00:00
David E. O'Brien
ab38884b94 Virgin import of AMD (am-utils) v6.0a16 1998-08-23 22:07:21 +00:00
David E. O'Brien
9522ac24d5 This commit was generated by cvs2svn to compensate for changes in r38494,
which included commits to RCS files with non-trunk default branches.
1998-08-23 22:07:21 +00:00
John Birrell
2fbedc25cd Use %p and void * casts to print pointers.
Cast the hash value returned to long instead of int.
1998-08-20 21:33:31 +00:00
John Birrell
d8a6b1e31e Add #include string.h to get prototypes. 1998-08-18 01:47:44 +00:00
John Birrell
87e904fdcf Add #include string.h to get prototypes.
Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.
1998-08-18 01:46:58 +00:00
Julian Elischer
55d80b2df1 Handle the case of moving a directory onto the top of a sibling's
child of the same name.

Submitted by:	Kirk Mckusick with fixes from luoqi Chen
Obtained from:   Whistle test tree.
1998-08-12 20:46:47 +00:00
Dag-Erling Smørgrav
c8dde19133 Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
Wolfram Schneider
f3b2c2d1d3 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
Poul-Henning Kamp
54ae3aa75b None of the header files for the packet capture library
are suitable to include in a C++ file.

PR:		7229
Reviewed by:	phk
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-08-07 06:20:58 +00:00
Dag-Erling Smørgrav
e7cdb97253 Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
Peter Wemm
05b73c60a4 I obviously cannot read. I misread the ifdef in the Makefile - DONT_FSYNC
was not on by default.. Back previous change out.
1998-08-04 13:56:32 +00:00
Peter Wemm
aa0c66bc41 Invert the sense of the -s flag (local addition). Instead of compiling
in the behavior via the previously default #define DONT_FSYNC, use the
-s flag to turn the fsync() behavior on.  This can be configured in
sendmail.cf without recompiling mail.local.
1998-08-04 13:46:46 +00:00
Peter Wemm
d615a19295 Copy original revs 1.2,1.3 - nofsync/nobiff support, usage update. 1998-08-04 13:14:21 +00:00
Peter Wemm
e3de8dc3d1 Copy original revs 1.2,1.3 - sort xrefs, document new -b and -s flags. 1998-08-04 13:11:42 +00:00
Peter Wemm
c97fb50e13 Copy original rev 1.2 - fix usage line to match reality. 1998-08-04 13:09:38 +00:00
Peter Wemm
1bceb5b259 Copy original rev 1.2 - path updates for 4.4BSD so smrsh is more useable. 1998-08-04 13:08:41 +00:00
Peter Wemm
829be59c37 Copy original rev 1.2 - immediate delivery rather than queueing and -Wall. 1998-08-04 13:07:03 +00:00
Peter Wemm
663f78a4e8 Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.
1998-08-04 13:04:55 +00:00
Peter Wemm
4ec6f1f332 Copy original rev 1.3 - fix cosmetic typo in example
Copy original rev 1.2 - sort xrefs
1998-08-04 12:59:12 +00:00
Peter Wemm
f897fed538 Copy original rev 1.5 - sort/fix xrefs
Copy original rev 1.4 - correct path to /usr/share/misc/sendmail.hf
1998-08-04 12:57:34 +00:00
Peter Wemm
b2ee1660ba Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt. 1998-08-04 12:53:30 +00:00
Peter Wemm
b26579db36 Copy rev 1.2 of usr.sbin/sendmail/cf/sh/makeinfo.sh: Use LC_TIME=C date. 1998-08-04 12:47:09 +00:00
Peter Wemm
bb9b311a11 Copy across rev 1.2 of usr.sbin/sendmail/cf/ostype/bsd4.4.m4:
Remove the legacy -d option from the arguments to mail.local in 4.4bsd.
1998-08-04 12:45:34 +00:00
Peter Wemm
8c7de60340 Copy across rev 1.2 of usr.sbin/sendmail/cf/m4/cfhead.m4: Record envelope
sender in each Received: header along the way. Great for spammer hunting.
1998-08-04 12:44:19 +00:00
Peter Wemm
c2aa98e247 Import sendmail-8.9.1 (slightly trimmed) onto a fresh branch under
src/contrib as per various discussions.  I will copy across our changes
and then point the Makefiles across once the dust has settled..
1998-08-03 05:56:20 +00:00
Peter Wemm
809dcea5da This commit was generated by cvs2svn to compensate for changes in r38032,
which included commits to RCS files with non-trunk default branches.
1998-08-03 05:56:20 +00:00
Bruce Evans
bb6ae0a4a9 Fixed printf format errors. 1998-08-02 16:44:18 +00:00
Bruce Evans
c513aafea1 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
Bruce Evans
d983fa4305 Fixed printf format errors. gcc should have a macro HOST_PTR_PRINTF_TYPE
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.
1998-08-02 14:57:00 +00:00
John Polstra
3bc25faee6 Add support for a new archetype "printf0" for the "format" function
attribute.  It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer.  See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.

This change will allow us to add format string checking for the
err(3) family of functions.
1998-07-15 04:22:45 +00:00
Dmitrij Tejblum
c713c527bb Add XPG4.2. 1998-07-08 15:05:05 +00:00
Bruce Evans
22694ebad5 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
Bruce Evans
a0f9f69e20 Declared version_string() properly (1970's style). 1998-07-06 20:40:57 +00:00
Bruce Evans
2512f2fe3b Fixed printf format errors. 1998-06-30 20:14:13 +00:00
Bruce Evans
c15a5b80be Fixed printf format errors. 1998-06-30 19:53:09 +00:00
Bruce Evans
3e55a1b2c6 Fixed (1970's/old-GNU style) a missing declaration of a function that
doesn't return int.
1998-06-30 19:19:10 +00:00
Bruce Evans
f39030436d Fixed printf format errors. 1998-06-30 18:12:26 +00:00
Bruce Evans
9f15c7ece5 Fixed printf format errors. 1998-06-30 18:06:23 +00:00
Bruce Evans
82890f2bb9 Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints.  Keep assuming that time_t's can be represented
by longs.
1998-06-29 16:30:43 +00:00
Bruce Evans
39470616b1 Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
Peter Wemm
dd21baedfd Merge 3.2.3 -> 3.2.7 changes into mainline. 1998-06-20 18:43:25 +00:00
Peter Wemm
847a1ab264 This commit was generated by cvs2svn to compensate for changes in r37074,
which included commits to RCS files with non-trunk default branches.
1998-06-20 18:29:38 +00:00
Peter Wemm
9b632708fe Import trimmed version of ipfilter 3.2.7.
Obtained from:  Darren Reed via http://cheops.anu.edu.au/~avalon/
1998-06-20 18:29:38 +00:00
Steve Price
3630d9abff 'They They' -> 'They'
PR:		6912
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-06-14 16:06:00 +00:00
Julian Elischer
28ed032673 Note which version of Kirk's sources this corresponds to. 1998-06-12 21:21:26 +00:00
Julian Elischer
aa75cb86b4 Fix the case when renaming to a file that you've just created and deleted,
that had an inode that has not yet been written to disk, when the inode of the
new file is also not yet written to disk, and your old directory entry is not
yet on disk but you need to remove it and the new name exists in memory
but has been deleted but the transaction to write the deleted name to disk
exists and has not yet been cancelled by the request to delete the non
existant name.  I don't know how kirk could have missed such a glaring
problem for so long. :-) Especially since the inconsitency survived on
the disk for a whole 4 second on average before being fixed by other code.
This was not a crashing bug but just led to filesystem inconsitencies
if you crashed.

Submitted by: Kirk McKusick (mckusick@mckusick.com)
1998-06-12 20:48:30 +00:00
Julian Elischer
6d0ba44288 Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.
Change worked out by john and kirk in consort.
1998-06-11 17:44:32 +00:00
Peter Wemm
e0269ee77c Zap the T_UID,T_GID and T_UINFO stuff, it doesn't exist in the bind8
headers.  As I understand it, it was for some really ancient athena stuff
that has long been replaced.
1998-06-11 14:40:42 +00:00
Peter Wemm
d9c3ce847c Merge conflicting changes (all 1 line! :-) from 8.1.2. 1998-06-11 05:09:53 +00:00
Peter Wemm
81359de8ea This commit was generated by cvs2svn to compensate for changes in r36882,
which included commits to RCS files with non-trunk default branches.
1998-06-11 05:01:49 +00:00
Peter Wemm
15f7f56992 Import final bind-8.1.2 release.
Obtained from: ftp.isc.org
1998-06-11 05:01:49 +00:00
Julian Elischer
8c221701c3 Fix for "live inode" panic.
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Reviewed by: yeah right...
1998-06-10 20:45:46 +00:00
Julian Elischer
4af0bb0f9e Remove buggy debugging code. 1998-06-10 20:03:16 +00:00
John Birrell
6e2f2fe480 Add LIB_SPEC (same as on i386) so that gcc knows about libc_r. 1998-06-08 10:58:36 +00:00
Joseph Koshy
68bf8f9eea Spelling fixes.
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6880
1998-06-08 06:12:02 +00:00
John Birrell
fa05a94c42 Fix an alignment problem on alpha by doing a bytewise copy. 1998-06-06 23:33:28 +00:00
Joseph Koshy
9c727d2ca9 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Steve Price
32c2131395 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
Bruce Evans
1a7d467f57 Removed generated files. named used the wrong version of ns_parser.h. 1998-06-04 07:55:55 +00:00
Doug Rabson
4e9648a861 Add support for baudrates higher than 37800. 1998-06-04 06:43:01 +00:00
Joseph Koshy
9595a75afa Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
Julian Elischer
3942b533f8 Add a reference to the Ganger/Patt paper 1998-06-02 01:27:27 +00:00
Steve Price
edfa292924 Typo: Tile -> Title
PR:		6798
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-30 22:09:44 +00:00
Peter Wemm
989c137029 If we are logging into a cvs pserver with the username of "anoncvs",
and we have not done an explicit 'cvs login', then use a default password
of "anoncvs".  This allows things like:
  setenv CVSROOT :pserver:anoncvs@anoncvs.freebsd.org:/cvs
  cvs checkout src  (without doing the normal 'cvs login' for pserver mode)
but this runs over the :pserver: protocol rather than the more troublesome
rsh.  Naturally, the server had better be running in -R (readonly) mode :-)
1998-05-27 16:55:49 +00:00
Peter Wemm
0e202e40d7 Make cvs really ignore a pserver password when the passwd field of the
CVSROOT/passwd file is empty.  A 'cvs login' still seems to be required
since the cvs client doesn't seem to believe it's possible to not need
a password (yet :-).  This is intended for cheap anoncvs use.
1998-05-27 16:27:18 +00:00
Peter Wemm
41f4688892 It would help if it compiled. *blush* 1998-05-27 16:00:55 +00:00
Peter Wemm
07870b45ae Add a new long flag that causes cvs to ignore the CVSROOT/passwd file.
This is mostly intended for use on freefall where we'd like to provide
a passwd file for easy anoncvs mirroring access, but don't want to open
up the pserver on freefall itself.

While here, some initial tweaks intended for allowing an empty pserver
password.  I'm not sure that this works yet.
1998-05-27 15:26:12 +00:00
Peter Wemm
f07a3e4e23 Remove my hacks for capturing stdout/stderr through the protocol channel
while calling libdiff.  It's too ugly and not worth the recursion problems
when there is a malloc failure (which writes to stderr - now diverted via
the buf system, which calls malloc, which causes another error message etc).

We can live with the standard artificial slowdown, but reduce the time a
bit and only delay when we really need to (ie: when running as a server).
The usleep time could probably use some tuning, it basically needs to
replace the time that it used to take to fork a large process, exec gnudiff
and the time that gnudiff took before writing the initial output.

This eliminates a whole mess of other hacks I was considering that changed
use of xmalloc to alloca() etc.  It was going too fast in the wrong
direction.
1998-05-27 15:19:23 +00:00
Julian Elischer
b8cf4de4c8 A fix to a debug test from Kirk. 1998-05-27 03:32:23 +00:00
Dag-Erling Smørgrav
d8ddb9a0ed Hopefully fix behaviour of libreadline when prompt is longer than
screen width and contains invisible characters.

PR:		gnu/6701
Submitted-by:	Chet Ramey chet@po.cwru.edu
1998-05-24 13:06:38 +00:00
Julian Elischer
25db4e8a66 Bring up-to-date with Whistle's current version
Includes some debugging code.
1998-05-19 23:07:25 +00:00
Julian Elischer
46e752be05 Merge with Kirk's version as of Feb 20
His version 9.23 == our version 1.5 of ffs_softdep.c
His version 9.5 ==  our version 1.4 of softdep.c
1998-05-19 22:54:53 +00:00
Julian Elischer
62e12c760c Merge in Kirk's changes to stop softupdates from hogging all of memory. 1998-05-19 21:45:53 +00:00
Julian Elischer
b6dad36385 Change to stop a silly panic. This should be understood better.
Change a buffer swizzle trick to a bcopy. It would be nice if the efficient
trick could be used in the future.
1998-05-19 20:50:41 +00:00
Julian Elischer
987614a910 First published FreeBSD version of soft updates Feb 5. 1998-05-19 20:18:42 +00:00
Julian Elischer
cc7939bc16 Import the next version received from kirk after some
FreeBSD feedback.
1998-05-19 20:03:29 +00:00
Julian Elischer
6652b82fa7 Import the earliest version of the soft update code that I have. 1998-05-19 19:47:22 +00:00
John Birrell
f7de97bc00 Make a bit of FreeBSD-specific code a bit more specific => i386 only. 1998-05-13 22:55:44 +00:00
Poul-Henning Kamp
84717b42e8 .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
PR:		6599
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
Steve Price
a205fdb540 Fix spelling error.
PR:		6572
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:44:55 +00:00
Peter Wemm
0a9a40935e Update for some -current quirks, and some other things taken from the
*bsd bind-8 ports.
(our setpwent() was changed to return void, but our setgrent() returns
int still!)
1998-05-03 04:55:44 +00:00
Peter Wemm
2cc7b06671 Old files moved/replaced/obsoleted by bind-8 1998-05-03 04:44:20 +00:00
Peter Wemm
4e0ffe0bae Import (trimmed) ISC bind-8.1.2-t3b. This will be updated to 8.1.2 on
final release.

Obtained from:  ftp.isc.org
1998-05-03 04:11:49 +00:00
Peter Wemm
a5593547cb This commit was generated by cvs2svn to compensate for changes in r35629,
which included commits to RCS files with non-trunk default branches.
1998-05-03 04:11:49 +00:00
Peter Wemm
e2f1a81473 Import ISC bind v4.9.7-T1B as a reference. We may need this if we update
-stable to 4.9.7 instead of 8.1.2 for whatever reason.
1998-05-02 11:04:44 +00:00
Peter Wemm
6b82cbaf57 This commit was generated by cvs2svn to compensate for changes in r35618,
which included commits to RCS files with non-trunk default branches.
1998-05-02 11:04:44 +00:00
Andrey A. Chernov
18a34ccf77 Back out complex and semi-correct workaround and commit one line fix
for 'echo' problem instead
1998-05-02 08:33:59 +00:00
John Birrell
376b0e97f4 If not interactive, we need the traditional behaviour of the input
not being echoed to the output. So as a _hack_ to get the world building
again, redirect the readline rl_outstream to stderr when not interactive.

The proper way to handle non-interactive mode is to read from stdin
and don't worry about edit mode, but this is GNU so it's not worth the
time thinking about. I'm already pissed off that I even had to look
at this "nice code".
1998-05-02 03:28:43 +00:00
Peter Wemm
4d99b63047 partially revert rev 1.2 spammage. This file is broken as shipped and
depends on the typo in the #ifdef in order to work..  Since the line has
been touched, leave a note there so that nobody else tries to "fix" it
again.

PR: 2035
1998-04-30 17:31:22 +00:00
Andrey A. Chernov
c2b2555816 Remove generated bc.h 1998-04-30 16:02:01 +00:00
Andrey A. Chernov
02f133e259 Add removed files to the removed list 1998-04-30 08:21:28 +00:00
Andrey A. Chernov
9890b24c74 Remove junk files that occupes space: Flex/Bison output and TeX macros 1998-04-30 08:00:49 +00:00
Doug Rabson
07d72466e5 Use the dynamic symtab of the runtime linker when looking for places to set
breakpoints.  It may have been installed stripped.
1998-04-30 07:56:18 +00:00
Andreas Klemm
da63d8f279 Added short instruction for FreeBSD how to import 1998-04-29 21:57:35 +00:00
Andreas Klemm
073523892d This commit was generated by cvs2svn to compensate for changes in r35516,
which included commits to RCS files with non-trunk default branches.
1998-04-29 21:53:01 +00:00
Andreas Klemm
17f33912d7 Import GNU bc 1.04
PR:		4183
1998-04-29 21:53:01 +00:00
Andrey A. Chernov
71358584f3 Fix merge errors 1998-04-28 07:37:54 +00:00
Andrey A. Chernov
49772d6129 Merge local changes 1998-04-28 06:49:42 +00:00
Andrey A. Chernov
91d01d1fdf V2.2 import 1998-04-28 06:22:20 +00:00
Andrey A. Chernov
d3bbabc05a This commit was generated by cvs2svn to compensate for changes in r35486,
which included commits to RCS files with non-trunk default branches.
1998-04-28 06:22:20 +00:00
Peter Wemm
4af3a821f1 -pg was causing a link with -lc_r... :-]
Submitted by:  Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287
1998-04-13 14:12:34 +00:00
Peter Wemm
044b7805a9 Argh!.. Spot the deliberate mistake that was probably causing the
leftover files in /tmp..  (this commit brought to you by 'cvs update -j')
1998-04-11 16:12:07 +00:00
John Birrell
2161ed1f46 Document the FreeBSD specific options from LIB_SPEC. 1998-04-10 09:19:11 +00:00
Bruce Evans
8c4461a8ff Removed yacc output files so that it is impossible to mix them with
new ones that we generate.
1998-03-27 11:14:12 +00:00
Bruce Evans
eab034e45d Removed yacc output files so that it is impossible to mix them with
new ones that we generate.  We used to always mix the old header with
the new .cc file.  This worked because Cygnus's yacc is surprisingly
compatible with our yacc.
1998-03-27 11:13:47 +00:00
Peter Wemm
6314ca637f Some tweaks to get this to compile for the userland tools. 1998-03-21 13:39:11 +00:00
Peter Wemm
f4b66beedb Import ipfilter 3.2.3 1998-03-21 10:04:55 +00:00
Peter Wemm
d2e0bd41f7 This commit was generated by cvs2svn to compensate for changes in r34739,
which included commits to RCS files with non-trunk default branches.
1998-03-21 10:04:55 +00:00
John Birrell
6db4691d19 Ouch, my local cvs walloped the version I thought I was committing.
Here is what I intended.
1998-03-14 03:02:19 +00:00
John Birrell
1de944af88 On i386, freebsd.h and freebsd-elf.h have been merged to combine
aout and elf support. freebsd-elf.h died as a result, so the BINFORMAT
test for elf in src/gnu/usr.bin/cc/cc_tool/Makefile will need to
use freebsd.h, not freebsd-elf.h. That means that alpha will have to
go the same way. The new alpha/freebsd.h has the alpha/freebsd-elf.h
definitions merged in.
1998-03-13 21:12:12 +00:00
John Birrell
0f471b05f9 Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.
Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.
1998-03-11 20:56:24 +00:00
Peter Wemm
ab10ac1949 Tweak from the cvs sources just after the 1.9.26 release:
1998-03-07  Tim Pierce  <twp@skepsis.com>
    * rcs.c (RCS_checkout): Negation bug when checking out symlinks:
    existence_error should be !existence_error.

This shouldn't cause any major merge problems later.
1998-03-11 09:30:51 +00:00
James Raynard
3e77698b86 Remove test sub-directory. 1998-03-10 19:28:47 +00:00
Peter Wemm
bde4819bd2 Merge changes from vendor branch into mainline 1998-03-10 13:58:02 +00:00
Peter Wemm
4b06c89291 Import cvs-1.9.26 onto vendor branch 1998-03-10 13:40:57 +00:00
Peter Wemm
f380a4f2e1 This commit was generated by cvs2svn to compensate for changes in r34461,
which included commits to RCS files with non-trunk default branches.
1998-03-10 13:40:57 +00:00
John Birrell
37aebf7ed2 Change the LINK_SPEC to specify the same runtime loader as used on
i386-elf because that is what will be used for FreeBSD/Alpha.

Change the STARTFILE_SPEC to match the non-aout version of i386 so
that the csu files can be built in exactly the same way as i386-elf.
This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses
crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was
decided that i386-elf should use crt1. i386-elf also references
crti and with this change, so does FreeBAS/Alpha.

I think it is important for FreeBSD to have a consistent implementation
across architectures and since ELF is quite compatible (ignoring
differences in 32 and 64 bits), gcc might as well be configured the
same.

Another change is that the entry symbol is _start, not __start as
in NetBSD.
1998-03-10 06:47:14 +00:00
Peter Wemm
42fcd1ffa9 Both our a.out (hacked) gas and the binutils gas support .weak
Prompted by: bde
1998-03-09 04:47:58 +00:00
Peter Wemm
df320ec9d3 Only do a.out/elf switching on i386 family 1998-03-09 04:13:31 +00:00
John Birrell
11ab2a9095 Import an extra source file from binutils 2.8.1 that is included on
alpha.
1998-03-09 03:38:19 +00:00
John Birrell
c76572aa7a This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.
1998-03-09 03:38:19 +00:00
John Birrell
45e0d510b8 Add a FreeBSD entry for alpha-elf. 1998-03-09 03:34:53 +00:00
Peter Wemm
3f39463468 Don't disable the use of $ in assembler labels.. It changes libstdc++
and libg++ so that they won't work with existing binaries (including
netscape!!).
1998-03-09 03:26:57 +00:00
John Birrell
27dd36da49 Our default rules tend to shove asm code through cpp, so comments
starting with hashes have a sub-optimal impact. This change adds
/* */ around the block comment in the header of each file to make
them friendly to cpp. Also added an Id keyword cause I like to
see revision numbers in source.
1998-03-08 21:09:04 +00:00
Peter Wemm
b51cdb1e8b Spell -Bshareable correctly... :-] 1998-03-08 16:09:57 +00:00
Peter Wemm
a2034fc036 svr4.h defines ASM_IDENTIFY_GCC, but neglects to define
ASM_IDENTIFY_LANGUAGE.  Use the osfrose.h method, because gdb assumes
'C' by default, so there's no need to further clutter the symbol table.
1998-03-08 13:26:15 +00:00
Peter Wemm
9ed6fc5562 Cosmetic cleanup for a.out asm generation.. Don't put the end-of-file
markers that the stabs-in-elf system uses.
1998-03-08 12:47:45 +00:00
Peter Wemm
178576c62f Put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables.
1998-03-08 11:54:04 +00:00
Peter Wemm
ebdff85b87 Add hooks for John Birrell's kernel thread support library.
Submitted by: John Birrell <jb@cimlogic.com.au>
1998-03-08 05:33:24 +00:00
Peter Wemm
9cb13c2344 First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc.  So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files).  The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target.  These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores.  The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes.  This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp
1998-03-08 05:29:49 +00:00
John Birrell
f2b7551c39 Import of the mpn asm source files for alpha from V2.0.2 which
appears to match the other libgmp files in the repository.
1998-03-07 21:27:49 +00:00
John Birrell
051b1b1a74 This commit was generated by cvs2svn to compensate for changes in r34204,
which included commits to RCS files with non-trunk default branches.
1998-03-07 21:27:49 +00:00
cvs2svn
d3609998d8 This commit was manufactured by cvs2svn to create branch
'VENDOR-binutils'.
1998-03-01 23:26:33 +00:00
John Polstra
12df71b07c Configuration changes to support FreeBSD. The linker only works for
ELF, not a.out.  But all the other tools support both.  I'm not so
sure about the assembler -- it might need more work.
1998-03-01 23:26:32 +00:00
John Polstra
ff8f730683 Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).
1998-03-01 23:22:00 +00:00
John Polstra
d228076248 Fix the output format of "nm" so that it works properly for FreeBSD's
"lorder" command.

GNU rejected this change because they felt it would be an unacceptable
incompatibility to change the output format at this point -- even
though it was wrong to begin with.
1998-03-01 23:20:03 +00:00
John Polstra
ff0c247c3c Fix a bug which incorrectly caused files to be labeled as having
text relocations in certain situations.
1998-03-01 23:17:03 +00:00
John Polstra
4f24af7764 Add automatic branding of FreeBSD ELF files. 1998-03-01 23:15:09 +00:00
John Polstra
6a248bab85 Add upgrade instructions and helper file. 1998-03-01 23:13:26 +00:00
John Polstra
52cb49752a Initial import of GNU binutils version 2.8.1. Believe it or not,
this is heavily stripped down.
1998-03-01 22:58:51 +00:00
John Polstra
d1e127f135 This commit was generated by cvs2svn to compensate for changes in r33965,
which included commits to RCS files with non-trunk default branches.
1998-03-01 22:58:51 +00:00
John Birrell
309df62fd9 Add #include <string.h> to get prototypes. 1998-02-20 07:48:36 +00:00
Peter Wemm
950fca26ed A hack to work around the sleep prior to calling the built-in diff. This
affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the
network.

1: don't pause at all unless running in server protocol mode.
2: if running in server protocol mode, do a kludge that intercepts the
   stdout and stderr write functions and diverts them to cvs_output() and
   cvs_outerr().  Yes, this might be done with fwopen() etc, but that also
   requires copying "FILE" structs since you can't freopen stdout etc and
   specify functions at the same time.

This HACK will go away once the cvs folks have done their changes to the
library version of gnu diff to use the callbacks as mentioned in the
comments.
1998-02-14 09:47:14 +00:00
Peter Wemm
8f3f2b2e9d Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago.  The real fix is rather large.
1998-02-08 06:48:37 +00:00
Chris Timmons
19aa4407da Painless merge... 1998-02-02 05:42:16 +00:00
Chris Timmons
0823b5bf08 Global v2.24 1998-02-02 05:38:11 +00:00
Chris Timmons
20a037099e This commit was generated by cvs2svn to compensate for changes in r33011,
which included commits to RCS files with non-trunk default branches.
1998-02-02 05:38:11 +00:00
Peter Wemm
178f53ff27 Cosmetic cleanups for the local tag support. Since rcs isn't called
anymore, don't do all the putenv's for it's benefit.
1998-01-31 01:39:40 +00:00
Peter Wemm
b1408ba741 Merge vendor changes to files that we've touched onto mainline.
(If only all import/merges were this trivial :-)
1998-01-30 15:35:26 +00:00
Peter Wemm
7b9d411405 Import cvs-1.9.24 since it came quite soon after the snapshot that was
imported a few days ago.  There is very little difference, except that
the remote protocol apparently supports wrappers and -k options better.
1998-01-30 15:31:47 +00:00
Peter Wemm
a0c60322a8 This commit was generated by cvs2svn to compensate for changes in r32896,
which included commits to RCS files with non-trunk default branches.
1998-01-30 15:31:47 +00:00
Peter Wemm
9b9b7eea08 Update import instructions from last time. 1998-01-30 15:09:55 +00:00
Peter Wemm
f5c9b8cbc7 Merge CYCLIC branch changes 1998-01-26 04:50:17 +00:00
Peter Wemm
4665b7b2d1 Restore file that was inadvertently deleted last time 1998-01-26 04:48:56 +00:00
Peter Wemm
3d0e86bdb6 Remove stray files 1998-01-26 04:47:16 +00:00
Peter Wemm
2dfc3bcde9 missing bracket 1998-01-26 03:54:53 +00:00
Peter Wemm
64c8118794 Merge changes from CYCLIC onto main branch 1998-01-26 03:29:29 +00:00
Peter Wemm
d302a0c08c Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come. 1998-01-26 03:24:11 +00:00
Peter Wemm
57e58c3aa7 Import cvs-1.9.23 as at 19980123. There are a number of really nice
things fixed in here, including the '-ko' vs. -A problem with
remote cvs which caused all files with -ko to be resent each time
(which is damn painful over a modem, I can tell you).  It also found a
heap of stray empty directories that should have been pruned with the -P
flag to cvs update but were not for some reason.

It also has the fully integrated rcs and diff, so no more fork/exec
overheads for rcs,ci,patch,diff,etc.  This means that it parses the control
data in the rcs files only once rather than twice or more.

If the 'cvs diff' vs. Index thing is going to be fixed for future patch
compatability, this is the place to do it.
1998-01-26 03:09:57 +00:00
Peter Wemm
edd1d86130 This commit was generated by cvs2svn to compensate for changes in r32785,
which included commits to RCS files with non-trunk default branches.
1998-01-26 03:09:57 +00:00
Warner Losh
d82dcd5eaf MFC: sprintf paranoia 1998-01-22 00:04:57 +00:00
Andrey A. Chernov
e562327407 Back out my -L change, now "patch -I" usage supposed to get Index:
precedence
1998-01-21 15:20:29 +00:00
Bruce Evans
ea07747224 Removed redundant declarations. Keymap functions are declared in
<readline/keymaps.h> which is included here.
1998-01-16 09:12:05 +00:00
Bruce Evans
b54167e198 Use the system __CONCAT() instead of /**/ for concatenation in the
non-ANSI case.  The system version is normally also /**/, but may
be different to support K&R compilers other than gcc -traditional.
1998-01-16 08:59:21 +00:00
Bruce Evans
1e5b51ef70 Fixed copying of N_TXTADDR() from the system version in the previous
revision.  N_TXTADDR() was 0x20 too high in the usual case.

Reported by:	luoqi@watermarkgroup.com (Luoqi Chen)
1998-01-16 08:46:50 +00:00
Andrey A. Chernov
0d913a0d1a Fix wrong ---/*** names produced using -L diff option
CVS gurus from info-cvs agrees that previous Index: usage is bogus
1998-01-16 06:00:36 +00:00
Steve Price
cd67e07e72 vmunix -> kernel
PR:		5484
Submitted by:	Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>
1998-01-13 14:17:10 +00:00
Julian Elischer
34bda5731d Allow a -D'date' option to be included with a -r'branch'
on a checkout.
this allows us to do:
cd /usr/src/sys
cvs update -rRELENGE_2_2 -D"Yesterday"
which has been a feature sorely needed for any project with active branches.

warning: this breaks on usr.sbin/pkg_install for some reason.
everything else works as advertised.
(other things allready break on pkg_install, so it's not the fault of
this patch, it just falls faul of another bug somewhere)
If I had more time I'd make -r always accept the same syntax as -j (tag:data)
1998-01-12 06:51:07 +00:00
John Birrell
2e56a2ce82 Upgrade the cpp pre-defines to include -Dunix. Turns out we need that
to compile m4.

And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3
like on i386.
1998-01-12 02:53:28 +00:00
John Birrell
0f4140c055 Add the alpha MD files for gcc to product ELF for FreeBSD/Alpha.
See freebsd.h and freebsd-elf.h for the silly comment that cgd@netbsd.org
wanted me to add about his claim that uncommented source files that
have been publicly available for ftp for nearly a year; that are
configuration patches to a GPL'ed program; are owned by his previous
employer who refuses to release them. Well... I did as he said. As if
that makes a difference!

At this point we've got cpp, gcc, g++ ported to FreeBSD/Alpha so all
the code that uses __FreeBSD__ is correctly pre-processed. Yay.

I'll commit the bootstrap makefile next to let others play, then on
to libc.
1998-01-11 04:39:46 +00:00
John Birrell
50dbd3f631 NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD. 1998-01-09 20:02:20 +00:00
Steve Price
1e940cecad Fix an anomaly in the option descriptions.
PR:		5469
Submitted by:	NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
1998-01-09 18:46:53 +00:00
Andrey A. Chernov
6bc0f0317d Remove library funcs we already have 1998-01-04 20:45:41 +00:00
Andrey A. Chernov
a8ab3d6865 Reflect new import 1998-01-04 20:28:01 +00:00
Andrey A. Chernov
6f584bd599 This commit was generated by cvs2svn to compensate for changes in r32243,
which included commits to RCS files with non-trunk default branches.
1998-01-04 20:25:29 +00:00
Andrey A. Chernov
98c7cc311f Raw import of patch 2.5 1998-01-04 20:25:29 +00:00
Paul Traina
1c1351793c Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
Paul Traina
13acb9488b Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
Wolfram Schneider
721d426d82 Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3. 1997-12-28 18:20:05 +00:00
Steve Price
978b87426f Remove one last /etc/sysconfig reference.
PR:		3460
Pointed out by:	hoek@FreeBSD.org
1997-12-27 20:00:13 +00:00
Jordan K. Hubbard
57ff4097d0 diff to /usr/share/tmac/mdoc/mdoc-syms to accept
.Fx 2.2.1
   .Fx 2.2.2
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-12-27 05:55:15 +00:00
Alexander Langer
c62b41d9d5 YTK fix. 1997-12-22 23:00:35 +00:00
John Birrell
f1129700ee Reviewed by: William LeFebvre <wnl@groupsys.com>
Change errno -> error in local structure to avoid a clash with the
thread-aware version of errno which is required for a thread-safe libc.

Have discussed this with the author and he has agreed to this change. 8-)
1997-12-22 19:39:20 +00:00
James Raynard
002706979c Year 2000 fixes for groff
PR:		4930
Submitted by:	Stephen J. Roznowski
1997-12-20 22:29:55 +00:00
Bruce Evans
be08fbf9fb Don't print "Making info file ...' except in verbose mode. 1997-12-19 21:20:07 +00:00
Bruce Evans
7b6b0ca343 Backed out all FreeBSD changes. They are unnecessary now that bfd
understands kernels.

Reviewed by:	jdp
1997-12-19 21:09:20 +00:00
Bruce Evans
243d233f9f Override gdb's version of N_TXTADDR() with the (new) system version
so that gdb gets the text address right for kernels.  Override some
other macros to get a consistent set.

Reviewed by:	jdp
1997-12-19 21:08:54 +00:00
Bruce Evans
27c62c22c7 Close some file descriptors on exec so that the inferior process gets
a normal environment.  Fd's 3 and 4 were usually left open.
1997-12-17 13:23:51 +00:00
Chris Timmons
9cd5c83ccc Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well. 1997-12-15 23:27:04 +00:00
Chris Timmons
d8cd62e2bf Resolve -Wall issues and be stylistic about #include directives. 1997-12-15 23:23:35 +00:00
Chris Timmons
f409599509 Merge and resolve conflicts... 1997-12-15 23:13:53 +00:00
Chris Timmons
dde39e507a Import of virgin Global v2_2_1 sources 1997-12-15 23:08:46 +00:00
Chris Timmons
4a7f990ff7 This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.
1997-12-15 23:08:46 +00:00
Garrett Wollman
0bfc6e6706 This is a hack. Decode IEEE 802.1Q VLAN tagging so that we can decode
tagged traffic according to the encapsulated protocol.  It needs in
addition modifications to the filter generator which would deal with
checking the ethertype and vlan header as required.
1997-12-08 21:42:35 +00:00
Philippe Charnier
81e04eaec0 MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3). 1997-12-08 07:41:13 +00:00
Warner Losh
eb064071a1 Buffer overflow from bitblt's commit to OpenBSD. Committed here for lack
of a better place to do it.

Reviewed by:	joerge
Obtained from: OpenBSD
1997-12-04 02:54:05 +00:00
John Polstra
5f6c54ce0a The previous revision (objfiles.c:1.2) fixed backtracing in the
absence of full debugging symbols for the kernel, but broke it for
application programs.  This commit disables that change except when
kernel debugging mode is in effect.

This needs to go into -2.2 as well, after a suitable burn-in period.
1997-11-27 21:26:08 +00:00
Paul Traina
4e181614f6 Resolve merge conflicts. 1997-11-27 19:52:45 +00:00
Paul Traina
d18478a033 This commit was generated by cvs2svn to compensate for changes in r31434,
which included commits to RCS files with non-trunk default branches.
1997-11-27 19:49:05 +00:00
Paul Traina
f25b19db8d Import TCL v8.0 PL2. 1997-11-27 19:49:05 +00:00
Steve Price
f8a9ca2b82 Make this manpage reveal its true identity. A diff of these
changes has also been sent to opie-bugs@inner.net.

PR:		5129
Submitted by:	jkh
1997-11-27 18:10:42 +00:00
Peter Wemm
af5dd3181a Import ipfilter 3.2.1 (update from 3.1.8) 1997-11-16 04:52:19 +00:00