Alfred Perlstein
f7bb25f702
replace __FUNCTION__ with standardized __func__.
...
Requested by: jhb
2002-05-11 04:17:55 +00:00
Alfred Perlstein
40e7772b07
unbreak build: fix multi-line string literal
2002-05-11 04:10:49 +00:00
Alfred Perlstein
b71b449d27
As a temporary bandaid disable '__printf0like' unconditionally, it
...
doesn't seem to work under gcc 3.1 yet.
We are now 'WERROR' safe again.
2002-05-11 03:58:24 +00:00
Alfred Perlstein
a74d1691fe
unbreak build: ditch multi-line string literals
2002-05-11 03:54:21 +00:00
Alfred Perlstein
a2bcd1a09f
fix build:
...
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
2002-05-11 03:48:49 +00:00
Brian Somers
35bed99ba9
NetBSD keeps des.h in /usr/include/openssl these days
2002-05-11 03:47:15 +00:00
Alfred Perlstein
3a9818f926
unbreak build:
...
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.
2002-05-11 03:29:04 +00:00
Alfred Perlstein
cc7b0935ec
unbreak build:
...
commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)
2002-05-11 03:19:44 +00:00
Chris D. Faulhaber
753d42d2ea
#include <stdlib.h> for exit(3) prototype.
2002-05-11 03:18:14 +00:00
Chris D. Faulhaber
c01df1d365
Add semicolon to empty default case to silence warning.
2002-05-11 03:12:02 +00:00
Garrett Wollman
94a48596a3
EXPR_COMPAT should imply -e, since there is no way to specify it otherwise,
...
and -e reflects the historic behavior of FreeBSD's expr.
2002-05-11 03:08:12 +00:00
Alfred Perlstein
4a21733e2d
unbreak build: include string.h for strcmp prototype.
2002-05-11 03:07:38 +00:00
John Baldwin
2065f9d26e
Add a dummy cleandir target to the kernel section so that make buildkernel
...
actually works on a kernel config with NO_MODULES set.
2002-05-11 02:25:02 +00:00
Brian Somers
08c36822bb
Mention the other RAS_PORT_TYPEs from rfc2865
...
Suggested by: "lsz8425" <lsz8425@mail.cd.hn.cn>
2002-05-11 01:27:27 +00:00
Alfred Perlstein
033be9ae81
while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.
2002-05-11 01:25:54 +00:00
Alfred Perlstein
46d560550a
backout additional include of cdefs.h, it's not helping any.
2002-05-11 01:24:39 +00:00
Alfred Perlstein
dfe7e2f8ff
include cdefs.h for __printf0like to silence warning.
2002-05-11 00:54:33 +00:00
Chris D. Faulhaber
75a011263c
Add semicolon to empty default case to silence warning.
2002-05-11 00:45:01 +00:00
David E. O'Brien
8e4199296c
Localize the version number at the request of the GCC developers.
2002-05-11 00:25:50 +00:00
Alfred Perlstein
64baebf95b
Add semicolon to empty default case to silence warning.
2002-05-11 00:21:00 +00:00
David E. O'Brien
b42da20fd5
Revert rev 1.3 -- I tested using the wrong build compiler.
2002-05-11 00:15:45 +00:00
David E. O'Brien
943aada83d
Actually we don't need any special YACC'ing here. The ones known to
...
Bmake are fine.
2002-05-10 23:20:54 +00:00
Garrett Wollman
1393277e29
The response to my POSIX interpretation request says that `expr'
...
is required to be oblivious to overflow and to use the data type `long'.
(Division by zero is undefined in ISO C so it's still OK to check for it
here.) Add a new `-e' flag to get the old, more useful behavior.
2002-05-10 22:59:29 +00:00
David E. O'Brien
a81da3c933
Note potential cvs update problem in contrib/gcc.
2002-05-10 22:56:59 +00:00
Dag-Erling Smørgrav
c690a1aa91
This commit was generated by cvs2svn to compensate for changes in r96364,
...
which included commits to RCS files with non-trunk default branches.
2002-05-10 22:03:19 +00:00
Dag-Erling Smørgrav
e55149b3dc
Add missing include (perforce change 11137)
2002-05-10 22:03:19 +00:00
David E. O'Brien
498e57a7a4
BWK awk appears to work for world builds just fine now. We want to make
...
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
David E. O'Brien
be42e63aec
Add tweaks needed when using as the system compiler.
2002-05-10 19:05:07 +00:00
Joerg Wunsch
d0900d6bc0
Change the PIO loops from a hard counter into a loop that calls DELAY()
...
in each cycle, with a tunable max cycle count defined in fdreg.h.
This is said to fix the problem on some Compaq hardware (and perhaps
on other machines using the Natsemi PC87317 chip) where the fdc(4)
driver failed to operate at all.
PR: kern/21397
Submitted by: Jung-uk Kim <jkim@niksun.com>
MFC after: 3 days
2002-05-10 17:56:39 +00:00
David E. O'Brien
d147c3da04
Touching the sjlj setting on IA-64 makes things not build.
...
Submitted by: peter
2002-05-10 17:42:19 +00:00
David E. O'Brien
6121408bac
Build compiler on all platforms.
2002-05-10 17:30:42 +00:00
David E. O'Brien
871d3affa7
Doh! Add IA-64 to our target list.
2002-05-10 17:23:04 +00:00
Andrew Gallatin
8bef1df9eb
Remove ## concatination in the CFGREAD and CFGWRITE macros, as gcc3 complains
...
about them & they are not needed. Same fix as to tsunami_pci.c.
(not surprising, as this code was cut and pasted from there when I wrote it).
2002-05-10 16:56:14 +00:00
Maxime Henrion
8eee3a3d58
Fix several bugs in devfs_lookupx(). When we check the nameiop to
...
make sure it's a correct operation for devfs, do it only in the
ISLASTCN case. If we don't, we are assuming that the final file will
be in devfs, which is not true if another partition is mounted on top
of devfs or with special filenames (like /dev/net/../../foo).
Reviewed by: phk
2002-05-10 15:41:14 +00:00
John Baldwin
2c6c9ea2bd
p_leader is only set at fork1() time, so update its locking note
...
appropriately.
2002-05-10 14:28:05 +00:00
Benno Rice
0f92104c14
Implement the following functions:
...
- pmap_addr_hint
- pmap_change_wiring
- pmap_extract
- pmap_is_modified
2002-05-10 14:21:48 +00:00
Benno Rice
e89482f7cb
Install the system call trap handler.
2002-05-10 14:19:44 +00:00
Ruslan Ermilov
8e0a87c1b3
xargs.c,v 1.33 broke the upgrade path from old versions of 4.x and 5.0.
2002-05-10 13:06:34 +00:00
Peter Wemm
9269daa2fb
Avoid casting a different sized integer to a pointer on LP64 systems.
2002-05-10 12:50:59 +00:00
Joerg Wunsch
ca06fe5647
Fix a misplaced break statement within a switch that accidentally made
...
it into an "#ifdef INET6" block. This caused a (harmless but annoying)
EINVAL return value to be sent even though the operation completed
successfully.
PR: kern/37786
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>,David Malone <dwmalone@maths.tcd.ie>
MFC after: 1 day
2002-05-10 12:48:09 +00:00
Gary Jennejohn
c0a06166a0
Fix a problem which could cause some machines to hang after a warm boot.
...
This should be in 4.6.
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
2002-05-10 12:04:04 +00:00
Thomas Gellekum
486730f7fd
Cast the uc_mcontext member to regcontext *, not the whole ucontext_t.
...
PR: 35449
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-05-10 10:40:46 +00:00
Thomas Gellekum
ca25eaf630
Fix wrong bitmask.
2002-05-10 10:37:57 +00:00
David E. O'Brien
415f2bb46f
Gather up the stragglers that depends on genrtl.h. This is -j10 safe now.
2002-05-10 10:21:19 +00:00
David E. O'Brien
01c50f1782
This was *very* -j unsafe. Add a dependency on the common generated
...
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
David E. O'Brien
e20b0b7333
[Ab]use LDFLAGS rather than CFLAGS.
...
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
David E. O'Brien
d1bdfb40fd
-ffreestanding is the word.
...
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
2002-05-10 09:26:35 +00:00
David E. O'Brien
3b2b7c3e7a
Change symbol values to match freebsd.h to avoid warnings.
2002-05-10 09:02:14 +00:00
David E. O'Brien
3cdd876f04
Bmake bits for Gcc 3.1.
...
Partially made possible by: Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
94083430d8
Need to build libgcc.so with -nostdlib -- otherwise we try linking with
...
ourself.
2002-05-10 08:52:41 +00:00