Commit Graph

836 Commits

Author SHA1 Message Date
jdp
fcce754470 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
dfr
68f5aa320d Port top to the alpha.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-11-25 09:45:28 +00:00
obrien
548096d203 xfer typo
PR:				docs/8723
Submitted by:	Junji SAKAI <sakai@jp.freebsd.org>
1998-11-20 08:12:05 +00:00
obrien
716528e0ae amq.8 contains typos
PR:				docs/8433
Reviewed by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-11-20 08:09:34 +00:00
obrien
0d9da99119 Not part of AM-UTILS any longer. Should be build from fixrmtab.in. 1998-11-20 05:21:40 +00:00
jdp
454b4e0cc2 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
jdp
893eba16b8 Fix #includes for FreeBSD. 1998-11-18 01:22:46 +00:00
jdp
011f45cfa3 Don't call openlog() and closelog(). Assume that the application
takes care of that.
1998-11-18 01:21:46 +00:00
jdp
51176ff914 s/Linux-PAM/PAM/g 1998-11-18 01:20:54 +00:00
jdp
b6626435c6 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
jdp
f06b122f95 Initial import of virgin Linux-PAM 0.65, slightly stripped down. 1998-11-18 01:16:21 +00:00
jdp
ed5b694a85 Initial revision 1998-11-18 01:16:19 +00:00
nectar
d032a7ae16 vmunix -> kernel
PR:		port/8543
Submitted by:	jkb@best.com
1998-11-16 04:25:03 +00:00
ache
1ffd64f134 Prevent MakeMaker to produce /usr/local/local/bin path for
INSTALLSCRIPT and INSTALLBIN: it broke ports
1998-11-15 15:26:12 +00:00
obrien
3c326c3cf9 update for latest vendor import 1998-11-14 03:37:59 +00:00
obrien
f3f64ef024 Clean up conflicts. 1998-11-14 03:13:33 +00:00
obrien
c6e3533e1e Virgin import of AMD (am-utils) v6.0b1 1998-11-14 03:11:37 +00:00
obrien
d9a3e6b7f3 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
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
4fcbc3669a Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +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
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
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
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
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
obrien
54e8da179c compare getopt() with -1, not EOF 1998-09-05 06:06:00 +00:00
obrien
6ca02af659 MFO rev 1.4 - sort cross references 1998-09-05 05:52:24 +00:00
obrien
c1a6032276 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
obrien
0b208f0c46 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
obrien
d278101ccd 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
34d907fe75 This is AMD.CONF, not AMQ.CONF 1998-09-02 21:07:47 +00:00
gpalmer
be7570dbc1 Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
jb
44d03426b1 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +00:00
thepish
30bccc1925 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
jdp
6bc59614b2 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
jdp
99e521ce92 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
obrien
95469232de 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
obrien
3cad3a2af8 accidently changed some white space 1998-08-27 07:25:25 +00:00
obrien
02df30696a Properly create db files vs. dbm files.
Obtained from:	NetBSD
1998-08-27 02:56:47 +00:00
bde
f0825df278 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
obrien
203b7d3a36 * 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
obrien
e0e79339cc more files we don't need. 1998-08-23 22:51:11 +00:00
obrien
9ed6275d35 Two more files FreeBSD doesn't need. 1998-08-23 22:43:27 +00:00
obrien
5aa326b197 upgrade instructions. 1998-08-23 22:09:19 +00:00
obrien
663d5a0f32 Virgin import of AMD (am-utils) v6.0a16 1998-08-23 22:07:21 +00:00
obrien
0ed24f82a4 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
jb
68c64482c2 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
jb
ed2af19ea4 Add #include string.h to get prototypes. 1998-08-18 01:47:44 +00:00
jb
35cbb372af 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
4c11bd9897 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
des
2e657427be Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
wosch
5a643960aa Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
phk
8c372cf522 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
des
e8ccb4f081 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
e0fcaa07d2 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
04a0df2514 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
50094ad9a7 Copy original revs 1.2,1.3 - nofsync/nobiff support, usage update. 1998-08-04 13:14:21 +00:00
peter
efd2b97aac Copy original revs 1.2,1.3 - sort xrefs, document new -b and -s flags. 1998-08-04 13:11:42 +00:00
peter
7b0b9a733e Copy original rev 1.2 - fix usage line to match reality. 1998-08-04 13:09:38 +00:00
peter
06f44fb6da Copy original rev 1.2 - path updates for 4.4BSD so smrsh is more useable. 1998-08-04 13:08:41 +00:00
peter
5cf97714c2 Copy original rev 1.2 - immediate delivery rather than queueing and -Wall. 1998-08-04 13:07:03 +00:00
peter
c716718d53 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
a2a730e618 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
f3484b0031 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
d9ec7e26a2 Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt. 1998-08-04 12:53:30 +00:00
peter
2f87330798 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
8af358bb00 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
ac6e193ca6 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
3299490505 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
2a9768fc55 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
bde
1d56e79a13 Fixed printf format errors. 1998-08-02 16:44:18 +00:00
bde
dbc09be291 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
bde
559a9a5f7d 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
jdp
0883088b05 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
dt
0df3c82bbd Add XPG4.2. 1998-07-08 15:05:05 +00:00
bde
0609531ab6 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
bde
8d76b538fe Declared version_string() properly (1970's style). 1998-07-06 20:40:57 +00:00
bde
53d1b984ce Fixed printf format errors. 1998-06-30 20:14:13 +00:00
bde
080e3ef296 Fixed printf format errors. 1998-06-30 19:53:09 +00:00
bde
2bd75a41ef 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
bde
62108cc29b Fixed printf format errors. 1998-06-30 18:12:26 +00:00
bde
8c3de9bd74 Fixed printf format errors. 1998-06-30 18:06:23 +00:00
bde
46d0d58de9 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
bde
d1ade19b07 Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
peter
e08eccffd4 Merge 3.2.3 -> 3.2.7 changes into mainline. 1998-06-20 18:43:25 +00:00
peter
b9ddfe987f 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
9529c38ad8 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
ccb6372369 'They They' -> 'They'
PR:		6912
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-06-14 16:06:00 +00:00
julian
e30abc2a08 Note which version of Kirk's sources this corresponds to. 1998-06-12 21:21:26 +00:00
julian
6b27bc7737 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
19e664debc 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
f9cfac3981 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
2da7fe93d6 Merge conflicting changes (all 1 line! :-) from 8.1.2. 1998-06-11 05:09:53 +00:00
peter
0fd0a0b5fa 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
67e0f3ce71 Import final bind-8.1.2 release.
Obtained from: ftp.isc.org
1998-06-11 05:01:49 +00:00
julian
21ee11979f 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
ab4debc1cf Remove buggy debugging code. 1998-06-10 20:03:16 +00:00
jb
ba935f3272 Add LIB_SPEC (same as on i386) so that gcc knows about libc_r. 1998-06-08 10:58:36 +00:00
jkoshy
75e70dcdb0 Spelling fixes.
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6880
1998-06-08 06:12:02 +00:00
jb
e886c0d520 Fix an alignment problem on alpha by doing a bytewise copy. 1998-06-06 23:33:28 +00:00
jkoshy
0d7d76d982 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
steve
260fa64a35 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
bde
bdb33fc97a Removed generated files. named used the wrong version of ns_parser.h. 1998-06-04 07:55:55 +00:00
dfr
42bfb0ad24 Add support for baudrates higher than 37800. 1998-06-04 06:43:01 +00:00
jkoshy
15683e67b6 Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
julian
3fd4b55938 Add a reference to the Ganger/Patt paper 1998-06-02 01:27:27 +00:00
steve
f31b4aebd7 Typo: Tile -> Title
PR:		6798
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-30 22:09:44 +00:00
peter
d1817d351a 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
815e5f2dfa 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
cae10d0ea1 It would help if it compiled. *blush* 1998-05-27 16:00:55 +00:00
peter
66f8d308b9 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
474b0e97b3 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
0086b00b30 A fix to a debug test from Kirk. 1998-05-27 03:32:23 +00:00
des
c9dd9f4148 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
44ee923017 Bring up-to-date with Whistle's current version
Includes some debugging code.
1998-05-19 23:07:25 +00:00
julian
988e3e4a34 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
0cc808ba0d Merge in Kirk's changes to stop softupdates from hogging all of memory. 1998-05-19 21:45:53 +00:00
julian
99669d2e37 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
ad8fcbb0ce First published FreeBSD version of soft updates Feb 5. 1998-05-19 20:18:42 +00:00
julian
f63e695a8d Import the next version received from kirk after some
FreeBSD feedback.
1998-05-19 20:03:29 +00:00
julian
bd1d27ef18 Import the earliest version of the soft update code that I have. 1998-05-19 19:47:22 +00:00
jb
74780e6b04 Make a bit of FreeBSD-specific code a bit more specific => i386 only. 1998-05-13 22:55:44 +00:00
phk
4c734c0e4d .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
24792483ec Fix spelling error.
PR:		6572
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:44:55 +00:00
peter
a82eba7c6c 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
b8bc3bc233 Old files moved/replaced/obsoleted by bind-8 1998-05-03 04:44:20 +00:00
peter
0666320b4e 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
3a554077f3 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
58ca52f417 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
a8be3d0818 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
ache
c8a064d400 Back out complex and semi-correct workaround and commit one line fix
for 'echo' problem instead
1998-05-02 08:33:59 +00:00
jb
cf7f1dd2f4 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
a72a36cdca 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
ache
b85011086f Remove generated bc.h 1998-04-30 16:02:01 +00:00
ache
60027966f4 Add removed files to the removed list 1998-04-30 08:21:28 +00:00
ache
008b6ec313 Remove junk files that occupes space: Flex/Bison output and TeX macros 1998-04-30 08:00:49 +00:00
dfr
0925595f73 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
3a033668d7 Added short instruction for FreeBSD how to import 1998-04-29 21:57:35 +00:00
andreas
a17a6a2830 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
0ec6169bea Import GNU bc 1.04
PR:		4183
1998-04-29 21:53:01 +00:00
ache
470efec49a Fix merge errors 1998-04-28 07:37:54 +00:00
ache
f66beda6a7 Merge local changes 1998-04-28 06:49:42 +00:00
ache
27ef633cd3 V2.2 import 1998-04-28 06:22:20 +00:00
ache
57352a1b33 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
9527a97222 -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
05ae376d90 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
jb
035d92130a Document the FreeBSD specific options from LIB_SPEC. 1998-04-10 09:19:11 +00:00
bde
9a3bc82878 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
bde
bba68a1ec1 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
8643af65b3 Some tweaks to get this to compile for the userland tools. 1998-03-21 13:39:11 +00:00
peter
58e3555d88 Import ipfilter 3.2.3 1998-03-21 10:04:55 +00:00
peter
02d7d423ae 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
jb
813e1f6dac 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
jb
7b1976eca5 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
jb
cb348fd0d5 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
d0208572aa 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
jraynard
400707d96e Remove test sub-directory. 1998-03-10 19:28:47 +00:00
peter
6b449debea Merge changes from vendor branch into mainline 1998-03-10 13:58:02 +00:00
peter
0c111e2b51 Import cvs-1.9.26 onto vendor branch 1998-03-10 13:40:57 +00:00
peter
a194b78bd2 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
jb
c736173442 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
b0d1291cc8 Both our a.out (hacked) gas and the binutils gas support .weak
Prompted by: bde
1998-03-09 04:47:58 +00:00
peter
b4375c6592 Only do a.out/elf switching on i386 family 1998-03-09 04:13:31 +00:00
jb
31cb88078d Import an extra source file from binutils 2.8.1 that is included on
alpha.
1998-03-09 03:38:19 +00:00
jb
dce663f91f 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
jb
64938d6e9c Add a FreeBSD entry for alpha-elf. 1998-03-09 03:34:53 +00:00
peter
b13939a64c 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
jb
875cc1421c 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
075f262da2 Spell -Bshareable correctly... :-] 1998-03-08 16:09:57 +00:00
peter
5a58d42fe2 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
d616a733c3 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
89f7f39c2e 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
69d046431c 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
c39aed21a8 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
jb
7fbf66313a 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
jb
ab602aeb26 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
8bd66fa336 This commit was manufactured by cvs2svn to create branch
'VENDOR-binutils'.
1998-03-01 23:26:33 +00:00
jdp
082b767ff5 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
jdp
96d45f0ff6 Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).
1998-03-01 23:22:00 +00:00
jdp
cb17504105 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
jdp
cad024a2ba 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
jdp
d26a0cda03 Add automatic branding of FreeBSD ELF files. 1998-03-01 23:15:09 +00:00
jdp
5fa431f4cf Add upgrade instructions and helper file. 1998-03-01 23:13:26 +00:00
jdp
2cbd0590cd 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
jdp
d0ed6da52d 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
jb
7dedbef2ef Add #include <string.h> to get prototypes. 1998-02-20 07:48:36 +00:00
peter
d5c5dbdaff 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
d7aa12e045 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
cwt
94da1d663c Painless merge... 1998-02-02 05:42:16 +00:00
cwt
490818046d Global v2.24 1998-02-02 05:38:11 +00:00
cwt
21500fe3a2 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
1dfdccebc8 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
8d90081216 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
c3a8ee0e80 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
2e8dbe568b 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
1d4373c3ec Update import instructions from last time. 1998-01-30 15:09:55 +00:00
peter
6669d79e32 Merge CYCLIC branch changes 1998-01-26 04:50:17 +00:00
peter
ef35b33b9f Restore file that was inadvertently deleted last time 1998-01-26 04:48:56 +00:00
peter
09c3704f4b Remove stray files 1998-01-26 04:47:16 +00:00
peter
2c9ec089a9 missing bracket 1998-01-26 03:54:53 +00:00
peter
164a615da2 Merge changes from CYCLIC onto main branch 1998-01-26 03:29:29 +00:00
peter
7a4c09bb43 Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come. 1998-01-26 03:24:11 +00:00
peter
e6e45661e4 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
6389db38d7 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
imp
7d01b0b30c MFC: sprintf paranoia 1998-01-22 00:04:57 +00:00
ache
13e5834cba Back out my -L change, now "patch -I" usage supposed to get Index:
precedence
1998-01-21 15:20:29 +00:00
bde
92f63c1a9a Removed redundant declarations. Keymap functions are declared in
<readline/keymaps.h> which is included here.
1998-01-16 09:12:05 +00:00