Commit Graph

935 Commits

Author SHA1 Message Date
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
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
38f68c8518 Virgin import of gcc from EGCS 1.1.2 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