Commit Graph

1183 Commits

Author SHA1 Message Date
sheldonh
b725e888cf Virgin import of GNU awk 3.0.4, which fixes at least a memory mis-
management problem involving custom print formats.

PR:		13615
Reported by:	Scott Hazen Mueller <scott@zorch.sf-bay.org>
1999-09-27 08:51:04 +00:00
phantom
fada71d33a Mention -p and -t options. 1999-09-24 11:37:06 +00:00
phantom
3442d5d948 Learn nroff about -p and -t options. It allows to preprocess
file with pic(1) and tbl(1).

Not objected to:	mpp
1999-09-23 13:40:28 +00:00
obrien
25880775a9 Fix conflicts.
Version 6.0.2s2 gives us a better fix a buffer overflow problem in
real_plog().  It also gives us a few code cleanups to quiet `gcc -Wall'.
1999-09-23 05:36:01 +00:00
obrien
525520fd05 Virgin import of AMD (am-utils) v6.0.2s2 1999-09-23 05:15:28 +00:00
obrien
7af1c7519b This commit was generated by cvs2svn to compensate for changes in r51591,
which included commits to RCS files with non-trunk default branches.
1999-09-23 05:15:28 +00:00
ache
70d2b31954 moved to tmac/locale 1999-09-23 02:56:00 +00:00
phantom
462153ca4e Allow .Rv macro to be used in 7th section also. This patch
will fix  "Usage: .Rv ..." error at mdoc.samples.7

Ok'ed by:	mpp
1999-09-22 22:36:16 +00:00
phantom
67b687baf2 Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
with "Alpha architecture" manpages.
1999-09-22 21:38:40 +00:00
sheldonh
1e4516eee8 Add the ``blacklist'' feature, which allows a path to a filename to
be used as a valid pattern in the access control language.

Patch obtained from ftp://ftp.porcupine.org/pub/security/ .

Requested by:	markm
1999-09-21 09:09:57 +00:00
obrien
8912f39a53 Bring BDE's printf format error fixes into EGCS. 1999-09-19 11:00:01 +00:00
obrien
2d0770cbad Bring our profiling tweaks into EGCS 1.1.2. 1999-09-19 10:43:38 +00:00
obrien
f32a244d64 "COMMENT_BEGIN" is no longer used. 1999-09-19 10:32:18 +00:00
obrien
b636d94676 Support linking against libgcc_r.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1999-09-19 10:31:14 +00:00
obrien
889904b823 This should get us the same functionality we had with GCC 2.7.2.1.
*  Support for our dual ELF/a.out building ability
*  Our custom ASM_* definitions
*  Our custom debugger and profiling related definitions
*  Our custom STARTFILE/ENDFILE specs

*  The stock EGCS 1.1.2 freebsd-elf.h file depended on
   egcs-1.1.2/gcc/config/linux.h, which included "svr4.h".  We will
   include "svr4.h" via our "tm.h" definition.  So add the few bits
   from "linux.h" we actually needed.

*  Using our current crtbegin.o/crtend.o we cannot support the DWARF2
   unwinding mechanisms.  In the future we will switch to the
   non-sjlj-exceptions type exception machanism.  However the `make world'
   bootstrap problems with the EGCS crtstuff.c must be overcome first.

*  Our a.out gas doesn't "know" to use NOP's for aligns while in the text
   section.  Thus the a.out alignment generation needed tweaking from
   what we did with GCC 2.7.2.  [from BDE]

*  The definition of SUPPORTS_ONE_ONLY prevents the compiler from trying
   to use "linkonce" sections for a.out.  The definition of
   NO_DBX_FUNCTION_END we had causes it to avoid .stabs symbols that the
   assembler cannot handle for a.out.  [from JDP]

*  The previous "EXCEPTION_SECTION_FUNCTION" is the wrong name for EGCS.
   It also needed tweaking for EGCS.  [from JDP]

Also bump __FreeBSD_cc_version to 400002 in case we need to know we are
using EGCS at some point.
1999-09-19 10:28:57 +00:00
obrien
46635bcff6 Use the stock EGCS version of this. 1999-09-19 09:09:21 +00:00
obrien
87f6a42ba7 Document the new i386 family options.
Obtained from:	invoke.texi
1999-09-19 09:00:24 +00:00
obrien
5d5529bc55 Document -Os optimization. Add to -O{0,2} documentation.
Obtained from:	invoke.texi
1999-09-19 08:58:44 +00:00
obrien
c869f77a5e Merge revs 1.2-1.11 (doc fixes and updates to reflect reality) into the
EGCS 1.1.2 manpage.
1999-09-19 08:56:04 +00:00
obrien
05d8686134 Merge rev 1.2 docs fixes into EGCS 1.1.2's manpage. 1999-09-19 08:18:18 +00:00
obrien
09ec198a34 Update for GCC 2.95.1's bundled libf2c. 1999-09-19 05:59:54 +00:00
obrien
aaae5884b1 Virgin import of GCC 2.95.1's libf2c 1999-09-19 05:59:11 +00:00
obrien
1b405cf308 This commit was generated by cvs2svn to compensate for changes in r51384,
which included commits to RCS files with non-trunk default branches.
1999-09-19 05:59:11 +00:00
obrien
883228cb51 Tell people how this work was done. 1999-09-19 05:50:17 +00:00
obrien
7376e6c179 Fix conflicts. This has a small part of rev 1.2 in it. 1999-09-18 11:14:59 +00:00
obrien
eff1108e1f Fix conflicts. This merges revs 1.{2,3} with EGCS 1.1.2. 1999-09-18 11:02:28 +00:00
obrien
24b4641d64 Virgin import of EGCS 1.1.2's libf2c 1999-09-18 10:51:31 +00:00
obrien
0b6e7085be This commit was generated by cvs2svn to compensate for changes in r51363,
which included commits to RCS files with non-trunk default branches.
1999-09-18 10:51:31 +00:00
obrien
e84ed63a37 Update the support files from the 6.0.1 import. 1999-09-18 09:25:20 +00:00
jmas
b315b271b8 Re-encode spanish messages using ISO-8859-1.
Patches also sent to bostic@bostic.com.

PR:		bin/5966
Submitted by:	Jose M. Alcaide <jose@we.lc.ehu.es>
1999-09-17 08:30:48 +00:00
obrien
08fa45bccf Fix conflicts. 1999-09-15 05:45:17 +00:00
obrien
422815db96 Virgin import of AMD (am-utils) v6.0.1 1999-09-15 02:50:52 +00:00
obrien
8acd2ed12e This commit was generated by cvs2svn to compensate for changes in r51292,
which included commits to RCS files with non-trunk default branches.
1999-09-15 02:50:52 +00:00
peter
27eff20bc0 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
ru
7d2b2c7102 Fix a coredump when commands in ~/.exrc prepended with addresses.
PR:		13000
1999-09-14 14:34:58 +00:00
bde
c353abbf33 Merge from ../egcs/gcc/gcc.c rev.1.5:
Don't exclude directories that the linker is "known" to search (/lib
and /usr/lib) when deciding whether to pass certain paths to the
linker.  Under FreeBSD, the linker is actually known to never search
/lib and to only search /usr/lib in the elf case.  Not passing the
paths causes at best causes confusing differences for cross compiling.
This change is conditional on FREEBSD_NATIVE but should be absolute.
1999-09-13 15:50:16 +00:00
ache
01bee587cc pick up locales from locale subdir
Submitted by:  "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 20:01:41 +00:00
ache
57f864afe8 koi8-r mandoc tweaks
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 19:49:21 +00:00
ache
16708ea6bd source hyphen.us-ru from locale subdir 1999-09-11 19:32:14 +00:00
obrien
6997ec652d Document -R. 1999-09-11 13:33:18 +00:00
obrien
7ca7432eb9 Add FreeBSD tag. 1999-09-08 11:16:36 +00:00
obrien
6c3ee16fba Don't -ko anymore.
Add FreeBSD tag.
1999-09-08 11:14:51 +00:00
obrien
02a0a563f4 Don't -ko anymore. 1999-09-08 11:12:35 +00:00
obrien
6e7d2d42f9 Don't use -ko any more. 1999-09-08 11:11:59 +00:00
imp
1643d59ede MFS: amd mount disabling and overflow protection.
Reported by: gallatin@freebsd.org
1999-09-07 23:07:03 +00:00
ru
92c14b5007 Add FreeBSD 3.3 to the Fx and Os macros. 1999-09-07 10:33:34 +00:00
simokawa
43da64efd1 Update the author's address and Global's home page.
PR: misc/13589
Submitted by: Shigio Yamaguchi <shigio@tamacom.com>
1999-09-07 02:46:08 +00:00
peter
28549e3811 $Id$ -> $FreeBSD$ 1999-09-05 17:27:05 +00:00
markm
19b34830fe Fix up this for the build; some compatibility files have been added -
these will be submitted back to KTH for inclusion.
1999-09-04 09:49:02 +00:00
luoqi
5433ad885f Remove GCC_UNUSED under FREEBSD_NATIVE option.
Requested by:	ache
1999-09-03 17:56:05 +00:00
luoqi
a0b67e73da Restore documented tgetstr() behavior. 1999-09-03 05:15:33 +00:00
peter
63afda0e62 Take a shot at getting this to compile under newpnp. 1999-09-02 05:20:08 +00:00
obrien
ba4ca045ae Document that dhclient-script will only set the hostname if it is unset.
Submitted by:	John Baldwin <jobaldwi@vt.edu>
1999-09-02 05:15:26 +00:00
markm
c34cf53e90 This commit was generated by cvs2svn to compensate for changes in r50764,
which included commits to RCS files with non-trunk default branches.
1999-09-01 20:02:46 +00:00
markm
a7e28b18e9 Double pointy hat award. Import this into the right area. 1999-09-01 20:02:46 +00:00
markm
10d1bec279 Termcap header no longer needed. 1999-09-01 18:57:38 +00:00
obrien
b199f84554 Use the stock EGCS 1.1.2 file here. Our previous changes are OBE.
(code change by rev 1.3 has been removed, and 1.2 is not needed since
contrib/gcc/cp/except.c is now the stock one)
1999-08-30 10:50:39 +00:00
obrien
83b619436e Use the stock EGCS 1.1.2 file here. I cannot determine if our previous
changes for ObjC are still appropriate.
1999-08-30 10:27:11 +00:00
obrien
976061f136 This brings rev 1.2 into EGCS 1.1.2. Also tweaks gleemed from EGCS
ChangeLog's.  Note that rev 1.3 changes (HOST_PTR_PRINTF) was not
brought into EGCS 1.1.2 as that is the default.
1999-08-30 10:12:33 +00:00
obrien
672a192465 Fix conflicts. 1999-08-30 09:58:28 +00:00
obrien
03fe9f98ec Use the stock EGCS 1.1.2 file here. Our previous changes are OBE. 1999-08-30 09:54:31 +00:00
obrien
226abf8617 This add Alpha and proper x86 support to EGCS 1.1.2. Functionally speaking,
this covers revs 1.{2,3}.
1999-08-30 08:41:19 +00:00
obrien
5f67543a99 This brings rev 1.2 (reality check and document profiling extensions)
into EGCS 1.1.2.
1999-08-30 07:51:44 +00:00
peter
db8fa0f70a Tweaks for using natively under FreeBSD (with native termcap) 1999-08-30 07:50:31 +00:00
obrien
feb6efb5cb This brings rev 1.2 (document printf0()) into EGCS 1.1.2. 1999-08-30 07:38:42 +00:00
obrien
958e97397e Fix conflicts. 1999-08-30 07:28:52 +00:00
obrien
3ba63f1504 Fix conflicts.
This adds rev 1.2 (-fformat-extensions) to EGCS 1.1.2.
1999-08-30 04:01:02 +00:00
obrien
eb56aceddc Fix conflict. 1999-08-30 01:02:55 +00:00
obrien
959b0dcad7 Fix conflicts. 1999-08-30 00:01:36 +00:00
obrien
c1a152a3d0 This brings rev 1.2 (FREEBSD_NATIVE) and rev 1.5 (mixed ELF/aout support)
into EGCS 1.1.2.
1999-08-29 23:53:46 +00:00
obrien
3302174d7b Correct vfork()/exit() to vfork()/_exit().
Also return "1" rather than "-1".  According to bde: -1 is unrepresentable.
Exit statuses must be >= 0 and <= 255, at least if chars are 8 bits and
shorts are 16 bits.  This seems to only be documented indirectly in exit.2
by referring to wait.2.  WEXITSTATUS() throws away all except the low 8 bits
of the status returned by _exit(), and the kernel actually only stores 8
bits of it (if chars are 8 bits, etc.), so wait() can't return any more bits.

Obtained from: rev 1.4 of contrib/gcc/gcc.c
1999-08-29 23:46:20 +00:00
lile
34b4b22959 Add source routing support. 1999-08-28 15:14:15 +00:00
obrien
042e4eb9d0 Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.
1999-08-28 11:46:53 +00:00
obrien
ff4f163c3f Fix conflicts.
This brings revs 1.{2,3} minus rev 1.4 into EGCS 1.1.2.
1999-08-28 11:27:19 +00:00
obrien
ede1871ee5 Fix conflicts. 1999-08-28 08:14:14 +00:00
obrien
60dc0ad369 Fix conflicts. This brings rev 1.2 (fix stabs ordering for a.out) into
EGCS 1.1.2.
1999-08-28 07:19:03 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
obrien
6339621330 Fix conflicts. This brings in rev 1.2 (FreeBSD native support -- do not
search the multitude of extended include file paths that do not exist)
into EGCS 1.1.2.
1999-08-27 11:02:42 +00:00
obrien
8c3428edad Fix conflicts. This brings the "printf0" addition into EGCS 1.1.2. 1999-08-27 10:58:48 +00:00
obrien
1211c446fc Don't accept %q length specifiers in the kernel (more precisely,
if compiling with -fformat-extensions). Gcc's format checker never
actually supported %q length specifiers.  It treats %q as an alias
for %ll, which is correct if quad_t is long long (e.g., on i386's)
and broken otherwise (e.g., on alphas).

quad_t's currently should be printed in the same way that they
already need to be printed to avoid compiler warnings on all
supported systems: cast them to a standard type that is at least
as large (long or long long) and use the length specifier for that
(%l or %ll).  This is problematic since long long isn't standard
yet.  C9x's intmax_t should be implemented soon.

Don't accept %L length specifiers in the kernel either.  The only
legitimate ones are for long doubles, but the kernel doesn't even
support plain doubles.  (gcc bogusly accepts %Ld as an alias for
%lld, and it sometimes prints "q" in error messages about "ll" and
"L" length specifiers, becauses it represents all these specifiers
as 'q'.)

Submitted by:	bde
1999-08-27 10:05:08 +00:00
obrien
3528dc25c8 Fixed kernel format checking:
- plain %r and %z were disallowed.  The hard NULs in the warnings were
  hopefully caused by disallowing of plain formats being nonsense.
- new formats for shortening to a byte were allowed, but even the libc
  printf doesn't support them.
- old %hr and %hz formats were allowed, but the kernel printf doesn't
  support them.  The kernel doesn't support %hd either, but this is
  harder to fix.

Submitted by:	bde
1999-08-27 10:02:56 +00:00
obrien
5854a5ede5 Fix conflicts.
This brings revs 1.2 (-fformat-extensions) and 1.3 (printf0())
into EGCS 1.1.2.
1999-08-27 10:01:05 +00:00
obrien
4f58606027 Fix conflicts. 1999-08-27 09:36:15 +00:00
obrien
38f68c8518 Virgin import of gcc from EGCS 1.1.2 1999-08-26 09:30:50 +00:00
obrien
697859a410 This commit was generated by cvs2svn to compensate for changes in r50397,
which included commits to RCS files with non-trunk default branches.
1999-08-26 09:30:50 +00:00
obrien
b2c6640729 Don't getopt -M option and don't process it unless ENABLE_AMQ_MOUNT is on.
Obtained from:	am-utils-6.0.1s11
1999-08-25 20:06:03 +00:00
peter
94f42873ff This commit was generated by cvs2svn to compensate for changes in r50276,
which included commits to RCS files with non-trunk default branches.
1999-08-24 01:06:48 +00:00
peter
bacd15cb1f Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.
This contains the full eti (panel, form, menu) extensions.
bmake glue to follow.

Obtained from:	ftp://ftp.clark.net/pub/dickey/ncurses
1999-08-24 01:06:48 +00:00
hoek
213c973cd8 Fix potential buffer overflow when using gtags.
Submitted by:	Shigio Yamaguchi [3]shigio@wafu.netgate.net (gtags author)
PR:		bin/7607
1999-08-22 03:48:31 +00:00
obrien
ef2594d765 * Consistantly surround macro parameters with ()
* Consistantly put spaces after "," in macro param lists
* Consistantly align continuation characters.
* Don't need to supply all variations of __FOO__ in CPP_PREDEFINES,
  gcc will do that for us.
1999-08-20 09:01:55 +00:00
grog
2040a3dcf9 Reduce default timeout on remote serial debugging sessions from 20
seconds to 1 second.  This fixes a problem where gdb would appear to
hang on flaky serial connections.  There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.

Approved-by:	dfr
1999-08-20 02:58:16 +00:00
obrien
d62f36e63b Move two of the DBX config directives to the common configuration header.
Also simply CPP_PREDEFINES a little.
1999-08-19 09:16:23 +00:00
mdodd
23a6694192 Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
mdodd
203aa2011f Add support for command line editing and history.
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
1999-08-19 03:29:15 +00:00
chris
24ff4e8603 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
nsayer
11c73babe3 According to Mark Murray, Makefiles do not belong here. I guess we're
going to have to figure something else out.
1999-08-16 18:59:05 +00:00
nsayer
ff5ef9020c Add SRA authentication to src/crypto/telnet.
SRA does a Diffie-Hellmen exchange and then DES-encrypts the
authentication data. If the authentication is successful, it also
sets up a session key for DES encryption.

SRA was originally developed at Texas A&M University.

This code is probably export restricted (despite the fact that I
originally found it at a University in Germany).

SRA is not perfect. It is vulnerable to monkey-in-the-middle attacks
and does not use tremendously large DH constants (and thus an individual
exchange probably could be factored in a few days on modern CPU
horsepower). It does not, however, require any changes in user or
administrative behavior and foils session hijacking and sniffing.
The goal of this commit is that telnet and telnetd end up in the DES
distribution and that therefore an encrypted session telnet becomes
standard issue for FreeBSD.
1999-08-16 11:24:29 +00:00
nsayer
a664d636c3 Fix int function without return (make consistent with neighbors) 1999-08-16 02:15:29 +00:00
obrien
0ea48900d6 Move "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG" to the general spec file
since their definitions were identical.  FreeBSD/MIPS will need to override
these two defintions, but it can #undef them and define them approapiately.
1999-08-15 22:02:50 +00:00
obrien
d7f960fee9 Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for
submitting to the GCC mainainers for folding into the stock GCC.
1999-08-15 21:59:46 +00:00
obrien
2ef3fc69f6 Document how I imported this. 1999-08-14 22:33:55 +00:00
obrien
896ffac087 Add "--broken-undeftoken-init" option. This makes Bison 1.28 bug compatable
with version 1.25.

Bison 1.28 fixed a bug in the initialization of the `undefined' symbol
table entry.  Unfortunately something about the way we are compiling
egcs-1.1.2's cc1plus breaks with this bugfix.

"--broken-undeftoken-init" is needed when compiling cc1plus.  Otherwise
/usr/libexec/cc1plus cannot compile libgcc.
1999-08-14 22:15:21 +00:00
obrien
0a3e71dd9d Fix conflicts. 1999-08-14 21:59:04 +00:00
obrien
f4420d0b0c Fix conflicts, ensure rev 1.2 changes are made to v1.28. 1999-08-14 21:56:35 +00:00
obrien
500daaa4a8 Use stock v1.28 bison.simple.
Bison 1.28 has our bison.simple rev 1.2 change, but due to code movement,
``cvs'' didn't realize this.
1999-08-14 21:53:50 +00:00
obrien
b7360d6c22 This commit was generated by cvs2svn to compensate for changes in r49795,
which included commits to RCS files with non-trunk default branches.
1999-08-14 21:39:07 +00:00
obrien
99c1697229 Virgin import of GNU Bison 1.28 1999-08-14 21:39:07 +00:00
chris
fda343b914 Bad reference of uname(2) -> uname(3) 1999-08-14 21:37:28 +00:00
obrien
82d27e8a8e Check to see if /usr/bin/logger exists before using it. Use "echo" if
/usr/bin/logger is not available.

Noticed from:	error messages in -CURRENT's sysinstall Alt-F2 debug screen
1999-08-10 07:16:00 +00:00
brian
8b87107d62 Set the close-on-exec flag when we lock the file we're editing.
This prevents any background sub-command executed from inheriting
the descriptor & lock (and making vi think that someone else is
editing the file when it re-edits).

Remembered from: An OpenBSD commit message from May '99
1999-08-06 08:34:42 +00:00
obrien
ec649741fb Log hostname settings/changes.
Submitted by:	John Baldwin <jobaldwi@vt.edu>
1999-08-04 15:12:27 +00:00
obrien
b43f881908 Back out rev 1.2. The correct type of host-name is `X'. There was a problem
with options.c which was fixed in ISC's version 2.0 (rev 1.1.1.2 --> 1.1.1.3).

I have tested host-name with both types `X' and `t' and things work fine
either way.  I would prefer to match the offical sources when easily possible.

PR:		12205
Submitted by:	John Baldwin <jobaldwi@vt.edu>
1999-08-04 15:02:28 +00:00
obrien
bec973affd MFS: use logger(1) instead of plain echo(1).
(some how these local changes made it out of my local tree into the
repository, so lets do it right)
1999-08-04 05:46:11 +00:00
obrien
80a6b8a3fb Support the setting of hostname via DHCP.
Submitted by:	myself & Ted Lemon <mellon@isc.org>
1999-08-04 05:34:33 +00:00
ache
09d662a760 Tune table since 0200-0206 is not available, add more chars 1999-07-31 15:51:57 +00:00
ache
c3d8cae6f8 bad news: chars 0200-0206 used internally in troff, make them back illegal 1999-07-31 15:15:15 +00:00
ache
6f14f17485 make all chars above 127 legal 1999-07-31 14:57:13 +00:00
ache
d7517fbe79 change prev. commit: emulate latin1 on ascii if latin1 chars are
in the text as groff authors suppose
1999-07-31 14:16:04 +00:00
ache
0e2729dbf2 Add more koi8-r chars 1999-07-31 13:17:47 +00:00
ache
ade72438aa Pick hardcoded latin1 chars definitions only if -Tlatin1 1999-07-31 12:00:58 +00:00
nik
d8ab1ceb66 Document the "skey" command in telnet(1).
PR:             docs/12360
Submitted by:   kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
Nagged by:      markm :-)
1999-07-30 21:24:03 +00:00
nik
a56f9a6aa7 dhclient-lease(8) -> dhclient.leases(5)
PR:             docs/12619
Submitted by:   Mikhail Teterin <mi@aldan.algebra.com>
1999-07-30 20:52:26 +00:00
nik
a4e9ff8c60 Correct reference to dhclient.conf(5) (was dhclient.conf(8)), as pointed
out in the PR.  Correct typo on the same line, which was not pointed
out by the PR.

PR:             docs/12619
Submitted by:   Mikhail Teterin <mi@aldan.algebra.com>
1999-07-30 20:51:19 +00:00
obrien
7cfde57e8a If "YYPARSE_PARAM" is defined, we need a different prototype for yyparse().
PR:		gnu/12868
Submitted by:	Vadim Chekan <vadim@gc.lviv.ua>
Obtained from:	bison-1.26a (identical change was made there)
1999-07-30 17:23:44 +00:00
ache
c1bcd0604c Sense $LANG only if $LC_CTYPE is not set 1999-07-30 16:34:06 +00:00
mpp
55b8687d8a Teach the .At macro about releases v2, v3, v4, and v5 of AT&T UNIX. 1999-07-30 12:33:26 +00:00
imp
d7c0a66242 Force safer mode of operation for man's use of *roff.
Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org
1999-07-30 05:20:17 +00:00
n_hibma
dc43710c1b bc core dumped when a value with between 128 and 255 (mod 256) digits
was entered.

PR:		12550
Submitted by:	Vladimir Tchoukharev chu@gpi.ru
Reviewed by:	Phil Nelson <phil@cs.wwu.edu> (maintainer of bc)
1999-07-28 17:58:12 +00:00
markm
7eec134793 Fix a problem where commands in backticks `` wont get executed in taint
mode because of an insecure path.

Reported by:	George Cox
1999-07-19 18:17:54 +00:00
jkh
436c09c576 Fix type of host-name option. Partial fix for referenced PR.
Submitted by:	John Baldwin <jobaldwi@vt.edu>
PR:		12205
1999-07-19 01:58:46 +00:00
dfr
29e416a92d Merge some patches from RedHat-6.0. The most important change fixes a bug
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.

Obtained from: RedHat-6.0
1999-07-17 08:04:58 +00:00
obrien
a59148d615 Virgin import of GCC 2.7.2.3 1999-07-10 23:03:59 +00:00
obrien
e333bf5170 This commit was generated by cvs2svn to compensate for changes in r48743,
which included commits to RCS files with non-trunk default branches.
1999-07-10 23:03:59 +00:00
bde
4ed2c1a255 Fixed style bugs in FreeBSD changes. KNF style doesn't apply to gnu
sources.
1999-07-04 15:46:44 +00:00
jdp
774e3738c4 Remove the soft-updates sources from their original location. They
have been repository-copied to "src/sys/contrib/softupdates".
1999-07-03 21:26:34 +00:00
obrien
aa0936e320 * The OBSTACK_CHUNK_SIZE #define was in the "Code generation parameters"
section rather than the "Miscellaneous parameters" where it belongs.

* Clarify what we are locating using the -m rule.

Submitted by:	bde
1999-07-02 19:26:45 +00:00
obrien
7c890ea955 The GNU standard about putting 2 spaces after sentences in comments
was not consistantly followed.

Submitted by:	bde
1999-07-02 19:20:44 +00:00
mckusick
7151ad3643 No longer need to set B_ASYNC flag since BUF_KERNPROC now
unconditionally sets the identity of the buffer.
1999-06-29 15:57:40 +00:00
obrien
9b3f04b07f Define "OBSTACK_CHUNK_SIZE" as getpagesize().
Our malloc can allocte pagesized blocks efficiently and the EGCS default size
of 4072 bytes is not optimal.

Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-06-28 09:05:56 +00:00
peter
b5d1061c97 Keep the inlines for <sys/buf.h> happy.. 1999-06-27 13:26:23 +00:00
mpp
befbc62779 Actually describe all of the command line options in fsinfo(8).
Most of the text was take from the fsinfo section in info(1).
Also included a pointer to that information, since there is
so much detail about the format of the configuration files there.
1999-06-26 22:53:22 +00:00
mckusick
cc86997b99 Convert buffer locking from using the B_BUSY and B_WANTED flags to using
lockmgr locks. This commit should be functionally equivalent to the old
semantics. That is, all buffer locking is done with LK_EXCLUSIVE
requests. Changes to take advantage of LK_SHARED and LK_RECURSIVE will
be done in future commits.
1999-06-26 02:47:16 +00:00
obrien
6b4cc9a031 Sort options.
Add options in usage() not documented.
1999-06-25 22:31:47 +00:00
obrien
d277f81ca7 Fix -1 (onetry) fails, exit(2) rather than exit(1) so an error from this
option is distingishable from other errors.
1999-06-25 22:28:34 +00:00
archie
f3e8de89be Fix bug (introduced by me) where UDP port numbers were starting at 1 instead
of 33435 like before.

Reported by:	John Polstra <jdp@polstra.com>
1999-06-25 21:48:40 +00:00
obrien
471f2eaeba Clean up conflicts. 1999-06-24 04:38:03 +00:00
obrien
1950c5e2f0 Update for latest vendor import. 1999-06-23 23:43:31 +00:00
obrien
d5161f2052 This commit was generated by cvs2svn to compensate for changes in r48146,
which included commits to RCS files with non-trunk default branches.
1999-06-23 23:40:02 +00:00
obrien
bb7cda7445 Virgin import of ISC-DHCP v2.0 1999-06-23 23:40:02 +00:00
ru
39880a4759 Merge from non-crypto version:
- "-N" option
- "-E" security fix
- "-s src_addr" option

Requested by:	markm
1999-06-17 09:24:37 +00:00
mckusick
7c68e9b5c4 Add a vnode argument to VOP_BWRITE to get rid of the last vnode
operator special case. Delete special case code from vnode_if.sh,
vnode_if.src, umap_vnops.c, and null_vnops.c.
1999-06-16 23:27:55 +00:00
mckusick
f3746e495b Get rid of the global variable rushjob and replace it with a function in
kern/vfs_subr.c named speedup_syncer() which handles the speedup request.
Change the various clients of rushjob to use the new function.
1999-06-15 23:37:29 +00:00
simokawa
228a7bbab8 Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
for recent egcs.
1999-06-10 12:05:48 +00:00
ache
38f5a258c5 Fix -T doubling 1999-06-07 19:28:47 +00:00
nik
c08ccf9b5a Fix typo which causes an unnecessary line break.
PR:             docs/11561
Submitted by:   Norihiro Kumagai <kuma@nk.rim.or.jp>
1999-05-29 13:02:00 +00:00
ache
946d057cdc fix End key name 1999-05-28 04:52:29 +00:00
ache
164cfc9d23 describe process 1999-05-28 02:20:07 +00:00
ache
31ecf47b2d merge 1999-05-28 02:17:15 +00:00
ache
c23830319d This commit was generated by cvs2svn to compensate for changes in r47558,
which included commits to RCS files with non-trunk default branches.
1999-05-28 01:59:23 +00:00
ache
2fbece35f7 readline v4.0 1999-05-28 01:59:23 +00:00
dfr
1fd255890e Port pnpinfo to alpha. 1999-05-22 17:35:48 +00:00
dfr
e949c2c01f Fix a coredump when debugging corefiles from static programs. 1999-05-22 08:25:02 +00:00
julian
284c90ec6d Cosmetic changes to make it compile without errors in gcc -Wall 1999-05-22 04:43:04 +00:00
jdp
a64251fbfc Fix typo (#unset where #undef was meant). 1999-05-21 04:56:32 +00:00
obrien
584a3b64e1 Consistantly protect "#define FOO ..." with "#undef FOO". 1999-05-20 08:30:48 +00:00
fenner
afd18bf673 Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro. 1999-05-14 17:35:17 +00:00
fenner
a5e6203878 Add 3.2 to the list of legal FreeBSD versions for the .Fx macro. 1999-05-14 17:32:21 +00:00
jkoshy
03b944ccfa Complete the list of FreeBSD version numbers accepted by the .Fx macro.
PR:		docs/11705
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1999-05-14 07:03:18 +00:00
mckusick
04cee7c227 Add a hook to ffs_fsync to allow soft updates to get first chance at doing
a sync on the block device for the filesystem. That allows it to push the
bitmap blocks before the inode blocks which greatly reduces the number of
inode rollbacks that need to be done.
1999-05-14 01:26:46 +00:00
archie
cb4c2dcf62 Add a min TTL flag to go along with the max TTL flag. That is, this flag
allows you to start tracing at a hop number other than 1.

Submitted by:	Stefan `Sec` Zehl <sec@42.org>
1999-05-12 17:28:31 +00:00
peter
21ec752d75 Don't assume branch heads are alive.. (related to previous change to the
older 1.9.26 baseline)
1999-05-10 13:49:51 +00:00
mckusick
06d92ae45f Put back changes that might be causing trouble on Alpha. 1999-05-09 19:39:54 +00:00
obrien
9577f6483a Update this with reality. 1999-05-08 18:09:39 +00:00
jdp
da765b0f8f Revive the pam_deny and pam_permit modules from Linux-PAM. They are
simple enough to be trusted.

Add account management functionality to the pam_unix module.

These changes should make it possible to use PAM in some ports.

Submitted by:	Max Khon <fjoe@iclub.nsu.ru>
1999-05-08 01:59:27 +00:00
mckusick
c8d57b6289 Whitespace cleanup. 1999-05-07 05:21:16 +00:00
mckusick
3e9638ef1f Get rid of random debugging cruft; sync up with latest version. 1999-05-07 05:11:31 +00:00
mckusick
dfd46d845f Severe slowdowns have been reported when creating or removing many
files at once on a filesystem running soft updates. The root of
the problem is that soft updates limits the amount of memory that
may be allocated to dependency structures so as to avoid hogging
kernel memory. The original algorithm just waited for the disk I/O
to catch up and reduce the number of dependencies. This new code
takes a much more aggressive approach. Basically there are two
resources that routinely hit the limit. Inode dependencies during
periods with a high file creation rate and file and block removal
dependencies during periods with a high file removal rate. I have
attacked these problems from two fronts. When the inode dependency
limits are reached, I pick a random inode dependency, UFS_UPDATE
it together with all the other dirty inodes contained within its
disk block and then write that disk block. This trick usually
clears 5-50 inode dependencies in a single disk I/O. For block and
file removal dependencies, I pick a random directory page that has
at least one remove pending and VOP_FSYNC its directory. That
releases all its removal dependencies to the work queue. To further
hasten things along, I also immediately start the work queue process
rather than waiting for its next one second scheduled run.
1999-05-07 02:26:47 +00:00
jkoshy
ee4d6a66a7 Fix spelling and typos.
PR:		docs/11506
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1999-05-06 12:17:58 +00:00
archie
883ba793c4 Add the capability for traceroute(8) to send packets of any IP protocol
instead of just UDP; an alternate protocol is specified by '-P proto'.
This is useful for finding routers that are blocking packets based on
IP protocol.  New handlers can be added fairly easily to do protocol-
specific things.
1999-05-06 03:23:24 +00:00
luoqi
93de58f77c Uninitialized variable. Do not assume certain endianess. 1999-05-04 16:59:42 +00:00
dfr
4ed7803976 GC some unused files from gdb and add them to the exclude list for future
imports.
1999-05-03 20:50:12 +00:00
dfr
6bb238c13f Resurrect a file for alpha support in GDB and add some minor FreeBSD tweaks.
Magic wand waved by: Peter Wemm <peter@netplex.com.au>
1999-05-02 16:08:02 +00:00
dfr
a16f261670 Delete parts of gdb which are now shared with binutils. 1999-05-02 15:34:14 +00:00
markm
cffd1a9922 Merge conflicts. More elegant improvements will follow in a couple
of days.
1999-05-02 15:18:32 +00:00
markm
3e34b1a0bc This commit was generated by cvs2svn to compensate for changes in r46307,
which included commits to RCS files with non-trunk default branches.
1999-05-02 14:33:17 +00:00
markm
77644ee620 Maintenance releace 3 of perl5.005. Includes support for threads. 1999-05-02 14:33:17 +00:00
dfr
908c05c11b The maximum pagesize for alpha is 64k, not 1Mb. 1999-05-02 12:02:55 +00:00
dfr
a11f05e63e Add upgrade instructions to facilitate future gdb imports. 1999-05-02 11:59:45 +00:00
dfr
4904d4610f Merge local changes into gdb-4.18 and add changes for FreeBSD/alpha. 1999-05-02 11:25:35 +00:00
dfr
16472937e3 This commit was generated by cvs2svn to compensate for changes in r46283,
which included commits to RCS files with non-trunk default branches.
1999-05-02 10:18:14 +00:00
dfr
5d522df45b Virgin import of gdb-4.18 1999-05-02 10:18:14 +00:00
obrien
661a4caefe Fix conflicts. 1999-05-02 09:24:16 +00:00
obrien
73275b0cb6 junk from the last import 1999-05-02 09:22:01 +00:00
obrien
76664fd3c5 Virgin import of ISC-DHCP v2.0b1pl27 1999-05-02 09:03:51 +00:00
obrien
f52506713d This commit was generated by cvs2svn to compensate for changes in r46275,
which included commits to RCS files with non-trunk default branches.
1999-05-02 09:03:51 +00:00
obrien
88a7cd1832 Turn DEFAULT_VTABLE_THUNKS back on. It caused problems with undefined symbols
in libstdc++.

Until I have a chance to look at what that problem is and to carefully consider
the upgrade issues of turning it back on at a later date if we leave it turned
off for any extended peroid of time.
1999-04-30 19:12:51 +00:00
obrien
f999fe682d Rather than hack config/freebsd.h to contain our hacks for a native compiler,
just include them in tm.h (as built from cc/cc_tools/Makefile).

This will reduce the diffs from the vendor sources.

Excellent idea by:	jdp
1999-04-28 18:48:08 +00:00
obrien
17f34242b2 Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.
1999-04-27 19:29:44 +00:00
obrien
60741f3b56 Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
While I have yet to hear of any problems with us using thunks.  The EGCS
mailing list notes some have problems with it and not using them are a
safer default.  People wanting to use them, can set the appropiate
compiler flag.
1999-04-27 15:43:56 +00:00
obrien
5f698ae7ff Use new FBSD_SWITCH_TAKES_ARG' and FBSD_WORD_SWITCH_TAKES_ARG'. 1999-04-22 17:45:24 +00:00
obrien
3c9238caf8 Move SWITCH_TAKES_ARG' to FBSD_SWITCH_TAKES_ARG' and `WORD_SWITCH_TAKES_ARG'
to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these
values if needed.
1999-04-22 17:45:01 +00:00
nik
ba013d6a5e Fix typos.
PR:		docs/8682
Submitted by:	hnokubi@yyy.or.jp
Reviewed by:	nik
1999-04-14 18:49:15 +00:00
obrien
3716cccd89 Document the "-D" option (UTSL). 1999-04-14 05:37:54 +00:00
obrien
6a20b7a06b Support linking against libgcc_r.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1999-04-14 00:25:45 +00:00
nik
487f659a79 Fixed one typo ("[[=e]]" -> "[[=e=]]") and two occurences of whitespace
before a macro.

PR:		docs/7833
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1999-04-10 20:42:06 +00:00
nik
4c8c85aca8 .sp -> .Pp
"... Pa /etc/resolv.conf" -> "...\n.Pa /etc/resolv.conf"

.Po and .Pc reported as broken, replaced with "(" and ")"

PR:		docs/7819
Submitted by:	yohta@bres.tsukuba.ac.jp
1999-04-10 20:38:17 +00:00
nik
18e15980ed ipfstat is now in section 8 of the manual.
PR:		7791
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-04-10 20:30:29 +00:00
obrien
11d205ea18 Did not mean to import these with 2.0b1pl17
(was the docs/ dir in previous ISC distfiles)
1999-04-09 18:51:21 +00:00
brian
dbeac496cb MF libexec/telnetd: Determine the host name using an array size of
MAXHOSTNAMELEN and call trimdomain() before implementing
                    the -u option.
1999-04-08 21:39:34 +00:00
bde
71fa9181f3 Removed unconditional definitions of __ELF__. They were redundant for
elf and wrong for i386-aout.
1999-04-08 13:57:13 +00:00
simokawa
5e04a284a4 Change default entry point from __start' to _start' which is in crt1.o.
Cc doesn't need to pass `-e _start' to ld anymore.

Agreed by: gallatin and dfr
1999-04-08 11:33:05 +00:00
obrien
26bb5c3516 Merge shared LIB_SPEC into share config header. 1999-04-08 07:49:24 +00:00
obrien
aa5debd8c5 merge alpha/freebsd-elf.h into alpha/freebsd.h
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:48:49 +00:00
brian
791b929637 MF libexec/telnetd: MAXHOSTNAMELEN & -u fixes. 1999-04-07 10:17:24 +00:00
brian
940b403e74 Use realhostname(). 1999-04-06 23:35:21 +00:00
obrien
d15fca7d79 Mispelled global option in usage. 1999-04-06 13:09:24 +00:00
brian
f0f0d422fa MF src/libexec/telnetd: Verify the reverse DNS lookup
ala rlogind.
Suggested by: markm
1999-04-06 12:41:27 +00:00
peter
c2095fb2ac Zap files not in cvs-1.10 1999-04-05 06:36:11 +00:00
peter
37288a187e Stray files that used to be in 1.9.x that are not in 1.10 1999-04-05 06:31:43 +00:00
obrien
7e479bdc37 libg++ is OBE. 1999-04-05 05:37:27 +00:00
obrien
29704bbf36 Fix space padding that was causing a problem in creating the final
CPP_PREDEFINES.
1999-04-04 22:46:18 +00:00
obrien
a6d3ea663c * Protect ourselves from any previously defined options.
* Turn on DEFAULT_VTABLE_THUNKS.  (it is the default anyway, I'm just being
  explicit about it, in case it causes us trouble it might be easier for
  someone to notice it this way)
1999-04-03 23:26:03 +00:00
bde
41255490fa Fixed printf format errors. 1999-04-03 06:58:32 +00:00
ache
366f1156e0 Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk
1999-04-03 04:02:29 +00:00
obrien
31e7553db4 Bump __FreeBSD_cc_version to 400002 in case we need to know we are using
EGCS at some point.

Submitted by:	jdp
1999-04-03 02:18:13 +00:00
obrien
ceda1e9fa4 Be quiet by default. 1999-04-02 17:19:19 +00:00
obrien
794737fcf1 Our ping doesn't have the ``-w'' option.
Submitted by:	Kevin Street <street@iname.com>
1999-03-30 21:21:23 +00:00
obrien
1024cedc0d Alpha architecture config files.
Obtained from:	adapted from Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>'s
		alpha suppliment to the Egcs port.
1999-03-30 07:47:06 +00:00
cvs2svn
e385527a0e This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'. 1999-03-30 07:36:37 +00:00
obrien
5ae3adc511 Base configuration file for all FreeBSD targets. 1999-03-30 07:36:36 +00:00
obrien
7527d91d08 fix conflicts. 1999-03-22 01:29:39 +00:00
obrien
305820a218 Update to latest version. 1999-03-22 01:28:54 +00:00
obrien
ec73946e9e Virgin import of ISC-DHCP v2.0b1pl18 1999-03-22 01:26:43 +00:00
obrien
6459f41b3a This commit was generated by cvs2svn to compensate for changes in r44930,
which included commits to RCS files with non-trunk default branches.
1999-03-22 01:26:43 +00:00
phk
e90283ea4e Remove the linker-set hack we used for BB profiling. 1999-03-21 12:28:14 +00:00
billf
7ab40f7f6f mdoc fixes
PR:		docs/7864
Submitted by:	Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>
1999-03-20 04:46:58 +00:00
peter
08a0aeb44c Merge cvs-1.9.xx -> 1.10 changes onto mainline.
Changes of significance include the top level CVS directory being optional
and defaulting to off..
1999-03-18 09:32:46 +00:00
peter
cff40a7c8c Merge cvs-1.9.xx -> 1.10 changes onto mainline.
The merge turned up a long-standing bug in local additions.  I'm not
quite sure it's right yet.  (the code in question is dealing with
diffs relative to "HEAD" and dead revisions).
1999-03-18 09:31:26 +00:00
peter
bc9c3d836a Import cvs-1.10 onto vendor branch. Merge to follow shortly.
Obtained from:	cyclic.com
1999-03-18 09:21:42 +00:00
peter
44247d19e4 This commit was generated by cvs2svn to compensate for changes in r44852,
which included commits to RCS files with non-trunk default branches.
1999-03-18 09:21:42 +00:00
obrien
ba6f667145 Fix conflicts. 1999-03-15 09:18:28 +00:00
obrien
35cdaa022a Virgin import of FSF groff v1.11 1999-03-15 08:36:16 +00:00
obrien
56722e04d9 This commit was generated by cvs2svn to compensate for changes in r44777,
which included commits to RCS files with non-trunk default branches.
1999-03-15 08:36:16 +00:00
markm
45110c0741 This commit was generated by cvs2svn to compensate for changes in r44743,
which included commits to RCS files with non-trunk default branches.
1999-03-14 17:13:19 +00:00
markm
06c148304a Clean import of TCP-wrappers by Wietse Venema.
Rest of build to follow.
1999-03-14 17:13:19 +00:00
bde
f0304d9f03 Restored rev.1.2, which was clobbered by rev.1.4 (don't print "Making
info file ..." except in verbose mode).
1999-03-02 13:04:00 +00:00
mckusick
a33170aeb3 Reorganize locking to avoid holding the lock during calls to bdwrite
and brelse (which may sleep in some systems).

Obtained from:	Matthew Dillon <dillon@apollo.backplane.com>
1999-03-02 06:38:07 +00:00
mckusick
6932da536e Ensure that softdep_sync_metadata can handle bmsafemap and mkdir entries
if they ever arise (which should not happen as softdep_sync_metadata is
currently used).
1999-03-02 00:19:47 +00:00
imp
7cbe34107a This commit was generated by cvs2svn to compensate for changes in r44365,
which included commits to RCS files with non-trunk default branches.
1999-03-01 06:27:31 +00:00
imp
a33e5716f5 Import mips2 and mips3 files from the 2.0.2 gmp distribution.
Approved by: markm
1999-03-01 06:27:31 +00:00