]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoSince the makefiles below binutils with the architecture extension
John Birrell [Mon, 4 May 1998 21:13:50 +0000 (21:13 +0000)]
Since the makefiles below binutils with the architecture extension
are now included according to the cross-architecture support required,
default the BINDIR for i386 to /usr/libexec/elf here instead of in
all the i386 specific makefiles. For all other architectures, BINDIR
is just /usr/bin.

26 years agoAdd makefile support for cross-architectures. Allow CROSS_TOOLS to
John Birrell [Mon, 4 May 1998 21:10:56 +0000 (21:10 +0000)]
Add makefile support for cross-architectures. Allow CROSS_TOOLS to
be defined (in /etc/make.conf, say) and set to the additional architectures
that need to be compiled in. So on alpha I set CROSS_TOOLS = i386.
On i386 you can't build alpha due to lack of 64-bit support on 32-bit
architectures, but that's a GNU problem.

This change relies on makefiles in the binutils sub-directories having
the extension defined in the CROSS_TOOLS, instead of those makefiles
being selected based on the host architecture.

26 years agoFixed races in `make -jN' using new yacc rules.
Bruce Evans [Mon, 4 May 1998 20:09:06 +0000 (20:09 +0000)]
Fixed races in `make -jN' using new yacc rules.

26 years agoSimplified by using new lex rules.
Bruce Evans [Mon, 4 May 1998 20:00:14 +0000 (20:00 +0000)]
Simplified by using new lex rules.

26 years agoSimplified by using new yacc rules.
Bruce Evans [Mon, 4 May 1998 19:54:56 +0000 (19:54 +0000)]
Simplified by using new yacc rules.

26 years agoSimplified by using new lex and yacc rules.
Bruce Evans [Mon, 4 May 1998 19:40:12 +0000 (19:40 +0000)]
Simplified by using new lex and yacc rules.

26 years agoSimplified by using new yacc rules and by not generating y.tab.h.
Bruce Evans [Mon, 4 May 1998 19:25:41 +0000 (19:25 +0000)]
Simplified by using new yacc rules and by not generating y.tab.h.

26 years agoSimplified by using new yacc rules. The new lex rules can't be used
Bruce Evans [Mon, 4 May 1998 19:10:20 +0000 (19:10 +0000)]
Simplified by using new yacc rules.  The new lex rules can't be used
here, at least without ifdefs for the bootstrap.

26 years agoSimplified using new yacc rules and by not generating y.tab.h.
Bruce Evans [Mon, 4 May 1998 18:41:16 +0000 (18:41 +0000)]
Simplified using new yacc rules and by not generating y.tab.h.

26 years agoSimplified using new yacc rules and by not generating y.tab.h. The
Bruce Evans [Mon, 4 May 1998 18:40:18 +0000 (18:40 +0000)]
Simplified using new yacc rules and by not generating y.tab.h.  The
lex source is still handled bogusly.

26 years agoSimplified by using new yacc rules and by not generating y.tab.h.
Bruce Evans [Mon, 4 May 1998 18:20:18 +0000 (18:20 +0000)]
Simplified by using new yacc rules and by not generating y.tab.h.

26 years agoDon't add y.tab.h to CLEANFILES, since this would now be done centrally
Bruce Evans [Mon, 4 May 1998 18:13:54 +0000 (18:13 +0000)]
Don't add y.tab.h to CLEANFILES, since this would now be done centrally
if y.tab.h were generated.  Don't generate y.tab.h, since it is not used.

26 years agoRefuse accellerated opens on listening sockets that have not set
Guido van Rooij [Mon, 4 May 1998 17:59:52 +0000 (17:59 +0000)]
Refuse accellerated opens on listening sockets that have not set
the TCP_NOPUSH socket option.
This disables TAO for those  services that do not know about T/TCP.

Reviewed by: Garrett Wollman
Submitted by: Peter Wemm

26 years agoSimplified using new yacc rules. This is cosmetic - the old rules
Bruce Evans [Mon, 4 May 1998 17:56:22 +0000 (17:56 +0000)]
Simplified using new yacc rules.  This is cosmetic - the old rules
worked because .ORDER prevented problems from concurrent generation
of multiple parsers (and their headers), and there were no missing
dependencies because the generated headers were not actually used.

26 years agoCorrect an error that I made where the vtruncbuf was changed back
John Dyson [Mon, 4 May 1998 17:43:48 +0000 (17:43 +0000)]
Correct an error that I made where the vtruncbuf was changed back
to vinvalbuf, but I incorrectly added the "V_SAVE|V_SAVEMETA" flags.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>

26 years agoFudge local variables better in the yacc rules so that multiple yacc
Bruce Evans [Mon, 4 May 1998 17:43:46 +0000 (17:43 +0000)]
Fudge local variables better in the yacc rules so that multiple yacc
sources are handled properly.

26 years agoFix the shm panic. I mistakenly used the shadow_count to keep the object
John Dyson [Mon, 4 May 1998 17:12:53 +0000 (17:12 +0000)]
Fix the shm panic.  I mistakenly used the shadow_count to keep the object
from being split, and instead added an OBJ_NOSPLIT.

26 years agoSimplified using new yacc rules. This is cosmetic - the old rules worked
Bruce Evans [Mon, 4 May 1998 16:58:50 +0000 (16:58 +0000)]
Simplified using new yacc rules.  This is cosmetic - the old rules worked
with `make -jN' because they did the right things to generate cexp.h
without clobbering cexp.c, and there were no missing dependencies on
cexp.h because cexp.h isn't actually used.

Fixed style bugs.

26 years agoFixed races in `make -jN' using new yacc rules. This also fixes plain
Bruce Evans [Mon, 4 May 1998 16:31:41 +0000 (16:31 +0000)]
Fixed races in `make -jN' using new yacc rules.  This also fixes plain
`make' (without a previous `make depend').

26 years agoFixed races in `make -jN' using new yacc rules.
Bruce Evans [Mon, 4 May 1998 16:22:30 +0000 (16:22 +0000)]
Fixed races in `make -jN' using new yacc rules.

Fixed slightly wrong order of -I's in CFLAGS.

FIxed the usual style bugs in DPADD and LDADD.

26 years agoSymlink awk.y to awktab.y so that the default yacc rules apply, and use
Bruce Evans [Mon, 4 May 1998 16:18:57 +0000 (16:18 +0000)]
Symlink awk.y to awktab.y so that the default yacc rules apply, and use
the (new) default yacc rules.  This is cosmetic - the special rule was
good enough here because y.tab.h is not used.

Don't generate y.output.

26 years agoGenerate explicit rules and other infrastructure for lex and yacc
Bruce Evans [Mon, 4 May 1998 13:54:41 +0000 (13:54 +0000)]
Generate explicit rules and other infrastructure for lex and yacc
sources.  This will be used to fix `make -jN' races in many
Makefiles in /usr/src, and to simplify these and other Makefiles.

To get the fixes and simplifications, application Makefiles should
put the raw lex and yacc source names (foo.l and bar.y) in SRCS and
not put the names of any generated files in SRCS or CLEANFILES.  A
few Makefiles already do this, although it didn't actually work before
(mkdep couldn't create complete dependencies because there is no
intermediate .c file for the .y.o and .l.o implicit rules).

Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h
will be generated whether or not it is used, even if this clobbers a
real source file.  This is so that bar.c can be generated using the
-j-safe and debugger-friendly -o option to YACC.  There are smaller
warts for handling y.tab.h.  y.tab.c and lex.yy.c are not supported.

26 years agoSync with sys/i386/isa/sio.c revision 1.200.
KATO Takenori [Mon, 4 May 1998 11:25:13 +0000 (11:25 +0000)]
Sync with sys/i386/isa/sio.c revision 1.200.

26 years agoJust the sans-serif console font that I use on my system; I've made the
Poul-Henning Kamp [Mon, 4 May 1998 11:24:05 +0000 (11:24 +0000)]
Just the sans-serif console font that I use on my system; I've made the
letters one pixel taller, and the ()[]{} are more distinct.  Nice if
your monitor is small.  8x16 and 8x8 fonts included.

PR: 4208
Reviewed by: phk
Submitted by: Dan Nelson <dnelson@emsphone.com>

26 years agoDetect USR PnP x2 modem.
Poul-Henning Kamp [Mon, 4 May 1998 10:35:13 +0000 (10:35 +0000)]
Detect USR PnP x2 modem.
PR: 6496
Reviewed by: phk
Submitted by: Kurt D. Zeilenga <Kurt@Boolean.NET>

26 years agoAdded a alpha category to the list.
Wolfram Schneider [Mon, 4 May 1998 10:13:08 +0000 (10:13 +0000)]
Added a alpha category to the list.

26 years agoAdded amd controller to support MELCO IFC-DP SCSI card.
KATO Takenori [Mon, 4 May 1998 08:48:23 +0000 (08:48 +0000)]
Added amd controller to support MELCO IFC-DP SCSI card.

26 years agoAdded another PCI to C-bus (ISA bus like 16 bit bus of PC-98) bridge.
KATO Takenori [Mon, 4 May 1998 08:16:03 +0000 (08:16 +0000)]
Added another PCI to C-bus (ISA bus like 16 bit bus of PC-98) bridge.

26 years agoAdded SMP kernel configuration file for PC-98 machine.
KATO Takenori [Mon, 4 May 1998 07:58:36 +0000 (07:58 +0000)]
Added SMP kernel configuration file for PC-98 machine.

26 years agoSystem clock speed is always detected automatically.
KATO Takenori [Mon, 4 May 1998 07:47:33 +0000 (07:47 +0000)]
System clock speed is always detected automatically.

26 years agoUse `0xf8' instead of `IO_NPX' macro to support compiling with `SMP'
KATO Takenori [Mon, 4 May 1998 07:33:32 +0000 (07:33 +0000)]
Use `0xf8' instead of `IO_NPX' macro to support compiling with `SMP'
option.

26 years agoWhen calling a shell function, remember whether exit status is tested.
Martin Cracauer [Mon, 4 May 1998 07:24:10 +0000 (07:24 +0000)]
When calling a shell function, remember whether exit status is tested.
This is needed for the '-e' option. See the PR for more details.
PR: 6047
Reviewed by: PR submitter, silence on review request.

26 years agoUpdate the named hooks.
Peter Wemm [Mon, 4 May 1998 05:26:46 +0000 (05:26 +0000)]
Update the named hooks.

26 years agoArgh, forgot to commit the update here for bind-8.. Sorry folks...
Peter Wemm [Mon, 4 May 1998 05:12:49 +0000 (05:12 +0000)]
Argh, forgot to commit the update here for bind-8.. Sorry folks...

Prompted by: John Hay <jhay@mikom.csir.co.za>

26 years agoSupport compiling with `gcc -ansi'.
KATO Takenori [Mon, 4 May 1998 04:55:36 +0000 (04:55 +0000)]
Support compiling with `gcc -ansi'.

26 years agoSupport compiling with `gcc -ansi'.
KATO Takenori [Mon, 4 May 1998 04:41:23 +0000 (04:41 +0000)]
Support compiling with `gcc -ansi'.

26 years agoChange a couple 'make' to '${MAKE}'.
Steve Price [Mon, 4 May 1998 04:01:26 +0000 (04:01 +0000)]
Change a couple 'make' to '${MAKE}'.

PR: 6341
Submitted by: Niall Smart <rotel@indigo.ie>

26 years agoWork around some VM bugs, the worst being an overly aggressive
John Dyson [Mon, 4 May 1998 03:01:44 +0000 (03:01 +0000)]
Work around some VM bugs, the worst being an overly aggressive
swap space free calculation.  More complete fixes will be forthcoming,
in a week.

26 years agoClarify use of 'if' capability.
Steve Price [Mon, 4 May 1998 02:37:29 +0000 (02:37 +0000)]
Clarify use of 'if' capability.

PR: 6499
Submitted by: Doug Barton <Studded@san.rr.com>

26 years agoForce BOOTSTRAP mode all the time while the headers are broken on alpha
John Birrell [Mon, 4 May 1998 02:06:09 +0000 (02:06 +0000)]
Force BOOTSTRAP mode all the time while the headers are broken on alpha
as the result of i386 changes.

26 years agoAdd NEC PC-98 chipsets.
KATO Takenori [Mon, 4 May 1998 01:39:48 +0000 (01:39 +0000)]
Add NEC PC-98 chipsets.

26 years agoBe picky about the format of the commandline and cleanup
Steve Price [Sun, 3 May 1998 23:22:37 +0000 (23:22 +0000)]
Be picky about the format of the commandline and cleanup
a warning related to qsort.

PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>

26 years agoAdd the year to the 'wtmp begins...' line.
Steve Price [Sun, 3 May 1998 23:19:15 +0000 (23:19 +0000)]
Add the year to the 'wtmp begins...' line.

PR: 6421
Submitted by: phk

26 years agoTypo fixes
James Raynard [Sun, 3 May 1998 22:59:47 +0000 (22:59 +0000)]
Typo fixes

26 years agoTypo fix.
James Raynard [Sun, 3 May 1998 22:50:14 +0000 (22:50 +0000)]
Typo fix.

26 years agoPedantry (NULL -> NUL).
James Raynard [Sun, 3 May 1998 22:42:45 +0000 (22:42 +0000)]
Pedantry (NULL -> NUL).

26 years agoDon't imply sigset_t == int.
James Raynard [Sun, 3 May 1998 22:27:29 +0000 (22:27 +0000)]
Don't imply sigset_t == int.

26 years agoRemove (now) invalid .Xr trsp 8
Steve Price [Sun, 3 May 1998 21:34:34 +0000 (21:34 +0000)]
Remove (now) invalid .Xr trsp 8

PR: 6494
Submitted by: Don Morrison <dmorrisn@u.washington.edu>

26 years agoTypo and grammer fixes.
Steve Price [Sun, 3 May 1998 17:57:39 +0000 (17:57 +0000)]
Typo and grammer fixes.

PR: 6482
Submitted by: Allen Campbell <allenc@verinet.com>

26 years agoAvoid stairstep effect on output of 'if=...' file.
Steve Price [Sun, 3 May 1998 16:29:06 +0000 (16:29 +0000)]
Avoid stairstep effect on output of 'if=...' file.

PR: part of 6492
Submitted by: Chip Norkus via Doug White <studded@san.rr.com>

26 years agoPatches are given here for pcisupport.c to recognise most of VIA
Poul-Henning Kamp [Sun, 3 May 1998 08:35:05 +0000 (08:35 +0000)]
Patches are given here for pcisupport.c to recognise most of VIA
Technologies' Socket 7 chipsets. This covers all of the Apollo chipsets
except the Master (82C570) and the MVP3, and it also covers the cheap
VXPro and VXTWO knockoffs of the VP1 and VPX.

PR: 6481
Reviewed by: phk
Submitted by: Lee Cremeans <lcremean@tidalwave.net>

26 years agoPut named-bootconf (the script to convert named.boot to named.conf) in
Peter Wemm [Sun, 3 May 1998 05:25:09 +0000 (05:25 +0000)]
Put named-bootconf (the script to convert named.boot to named.conf) in
/usr/sbin rather than in /etc/namedb (make install isn't supposed to touch
/etc)

26 years agoAdd nsupdate
Peter Wemm [Sun, 3 May 1998 05:17:28 +0000 (05:17 +0000)]
Add nsupdate

26 years agoUpdate for bind-8
Peter Wemm [Sun, 3 May 1998 05:16:58 +0000 (05:16 +0000)]
Update for bind-8

26 years agoUpdate for bind-8. Also use /proc in preference to the (seemingly) always
Peter Wemm [Sun, 3 May 1998 05:14:04 +0000 (05:14 +0000)]
Update for bind-8.  Also use /proc in preference to the (seemingly) always
broken ps(1).

26 years agoThese are no longer shipped with bind, but are a well established
Peter Wemm [Sun, 3 May 1998 05:11:52 +0000 (05:11 +0000)]
These are no longer shipped with bind, but are a well established
interface that's simple to maintain.

26 years agoNew bind8 program
Peter Wemm [Sun, 3 May 1998 05:10:23 +0000 (05:10 +0000)]
New bind8 program

26 years agoUpdate for named v8
Peter Wemm [Sun, 3 May 1998 05:09:13 +0000 (05:09 +0000)]
Update for named v8

26 years agoAdd libbind
Peter Wemm [Sun, 3 May 1998 05:06:13 +0000 (05:06 +0000)]
Add libbind

26 years agoBuild libbind for named and friends (not installed in /usr/lib)
Peter Wemm [Sun, 3 May 1998 05:04:21 +0000 (05:04 +0000)]
Build libbind for named and friends  (not installed in /usr/lib)

26 years agoUpdate for some -current quirks, and some other things taken from the
Peter Wemm [Sun, 3 May 1998 04:55:44 +0000 (04:55 +0000)]
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!)

26 years agoOld files moved/replaced/obsoleted by bind-8
Peter Wemm [Sun, 3 May 1998 04:44:20 +0000 (04:44 +0000)]
Old files moved/replaced/obsoleted by bind-8

26 years agoBacked out previous commit. chown(8) doesn't follow symlinks by
Bruce Evans [Sun, 3 May 1998 04:17:48 +0000 (04:17 +0000)]
Backed out previous commit.  chown(8) doesn't follow symlinks by
default, at least in BSD.  This used to be automatic, because chown(2)
didn't follow symlinks.  When chown(2) was changed to follow symlinks
in BSD4.4, chown(8) was changed to not follow symlinks by default.
The previous commit broke this.  The first victim was bsd.prog.mk,
which uses a plain chown in an attempt to change the ownership of the
symlinks to `dm' in /usr/games.  This fails when it is done before
dm is installed, or messes up the ownership of dm if dm is installed.

Unfixed problems:
1. When lchown(2) was implemented, chown(8) wasn't changed to implement
   the historical behaviour of changing ownership of symlinks.  I'm not
   sure if it should have been.  The -HLP options give more complete
   control, but they unfortunately don't apply unless the -R option is
   specified (a problem shared with other commands, e.g., cp; I guess
   we're supposed to use -R even for non-recursive traversals).
2. If we implement the historical behaviour, then -h would become a no-op
   and should be left undocumented.
3. The man page suggests that without option -h, all symlinks (to files
   specified in the command line?) are followed.  It's not clear what
   "the file" is.  These bugs were introduced when -h was documented.
4. The correct interaction of -h with the other flags is not clear.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r35629,
Peter Wemm [Sun, 3 May 1998 04:11:49 +0000 (04:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r35629,
which included commits to RCS files with non-trunk default branches.

26 years agoImport (trimmed) ISC bind-8.1.2-t3b. This will be updated to 8.1.2 on
Peter Wemm [Sun, 3 May 1998 04:11:49 +0000 (04:11 +0000)]
Import (trimmed) ISC bind-8.1.2-t3b.  This will be updated to 8.1.2 on
final release.

Obtained from:  ftp.isc.org

26 years agoAdd PCI device IDs for Intel BX PCI chip-set components.
Stefan Eßer [Sat, 2 May 1998 22:19:33 +0000 (22:19 +0000)]
Add PCI device IDs for Intel BX PCI chip-set components.

Submitted by: Steinar Haug <sthaug@nethelp.no>

26 years agoResolve some unexpected differences when comparing with the 2.2 version.
Peter Wemm [Sat, 2 May 1998 15:51:54 +0000 (15:51 +0000)]
Resolve some unexpected differences when comparing with the 2.2 version.
One bug was relatively harmless (select's timeout had an uninitialized
tv_usec), the other I'm not so sure.. (neglected to catch select returns
less than zero).  Both of these were irrelevant on kernels with poll().

26 years agoUpdate libc dns code to 4.9.7-T1B level. This involved chopping out large
Peter Wemm [Sat, 2 May 1998 13:11:02 +0000 (13:11 +0000)]
Update libc dns code to 4.9.7-T1B level.  This involved chopping out large
chunks of res_comp.c and replacing it with chunks of bind-8.1.1's resolver
code.  (There are no interface changes though)
The other parts are better bounds checking related.

26 years agoDon't ignore symbolic links in the absence of -h, -H or -L options.
Wolfgang Helbig [Sat, 2 May 1998 12:57:57 +0000 (12:57 +0000)]
Don't ignore symbolic links in the absence of -h, -H or -L options.
Instead change the user ID/group ID of the file that the link points to.

26 years agoAdded patch to build-tools (now needed to make gdb, sigh).
Bruce Evans [Sat, 2 May 1998 12:29:48 +0000 (12:29 +0000)]
Added patch to build-tools (now needed to make gdb, sigh).

Pointed out by: andreas

26 years agoImport ISC bind v4.9.7-T1B as a reference. We may need this if we update
Peter Wemm [Sat, 2 May 1998 11:04:44 +0000 (11:04 +0000)]
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.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r35618,
Peter Wemm [Sat, 2 May 1998 11:04:44 +0000 (11:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r35618,
which included commits to RCS files with non-trunk default branches.

26 years agoBack out complex and semi-correct workaround and commit one line fix
Andrey A. Chernov [Sat, 2 May 1998 08:33:59 +0000 (08:33 +0000)]
Back out complex and semi-correct workaround and commit one line fix
for 'echo' problem instead

26 years agoAnother minor cleanup of the split code. Make sure that pages are
John Dyson [Sat, 2 May 1998 06:36:16 +0000 (06:36 +0000)]
Another minor cleanup of the split code.  Make sure that pages are
busied during the entire time, so that the waits for pages being
unbusy don't make the objects inconsistant.

26 years agoCleanup in the child, not the parent.
John Birrell [Sat, 2 May 1998 03:42:20 +0000 (03:42 +0000)]
Cleanup in the child, not the parent.

Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>

26 years agoIf not interactive, we need the traditional behaviour of the input
John Birrell [Sat, 2 May 1998 03:28:43 +0000 (03:28 +0000)]
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".

26 years agoSeatbelts for vm_page_bits() in case a file offset is passed in rather than
Peter Wemm [Sat, 2 May 1998 03:02:13 +0000 (03:02 +0000)]
Seatbelts for vm_page_bits() in case a file offset is passed in rather than
the page offset.  If a large file offset was passed in, a large negative
array index could be generated which could cause page faults etc at worst
and file corruption at the least.  (Pages are allocated within file
space on page alignment boundaries, so a file offset being passed in here
is harmless to DTRT.  The case where this was happening has already been
fixed though, this is in case it happens again).

Reviewed by: dyson

26 years agoSupport 1.44MB floppy disk.
KATO Takenori [Sat, 2 May 1998 02:06:08 +0000 (02:06 +0000)]
Support 1.44MB floppy disk.

Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>,
              NOKUBI Hirotaka <hnokubi@yyy.or.jp>

26 years agoSupport PC-98 machine.
KATO Takenori [Sat, 2 May 1998 01:57:39 +0000 (01:57 +0000)]
Support PC-98 machine.

26 years agoGo back to version 1.16 - it was correct the way it was.
Brian Somers [Fri, 1 May 1998 19:41:12 +0000 (19:41 +0000)]
Go back to version 1.16 - it was correct the way it was.
Pointed out by: bde

26 years agoDo not store the same config.h twice - use one from bc directory
Andrey A. Chernov [Fri, 1 May 1998 19:20:42 +0000 (19:20 +0000)]
Do not store the same config.h twice - use one from bc directory

26 years agoAdd missing -DHAVE_CONFIG_H
Andrey A. Chernov [Fri, 1 May 1998 19:13:41 +0000 (19:13 +0000)]
Add missing -DHAVE_CONFIG_H

26 years agoDon't depend on "implicit int".
Bruce Evans [Fri, 1 May 1998 18:30:02 +0000 (18:30 +0000)]
Don't depend on "implicit int".

26 years agoAdded -ansi to CWARNFLAGS so that ANSI errors don't come back.
Bruce Evans [Fri, 1 May 1998 18:13:37 +0000 (18:13 +0000)]
Added -ansi to CWARNFLAGS so that ANSI errors don't come back.

26 years agoSupport compiling with `gcc -ansi'. Just use __inline instead of inline.
Bruce Evans [Fri, 1 May 1998 18:10:50 +0000 (18:10 +0000)]
Support compiling with `gcc -ansi'.  Just use __inline instead of inline.
[__]inline is only used to bloat the code here.  It gives a separate copy
of all the strings for each time this header is included...

Fixed misuse of __P(()).

26 years agoOops, the previous commit should have changed `i386' to `__i386__',
Bruce Evans [Fri, 1 May 1998 16:40:21 +0000 (16:40 +0000)]
Oops, the previous commit should have changed `i386' to `__i386__',
not `__i386'.

26 years agoPartially fixed write clustering for cases where cluster_wbuild() is
Bruce Evans [Fri, 1 May 1998 16:29:27 +0000 (16:29 +0000)]
Partially fixed write clustering for cases where cluster_wbuild() is
called from vfs_bio_awrite() without going through cluster_write()
or ufs_bmaparray(), in particular for all writes to block disk devices.
Only ufs_bmaparray() sets vp->v_maxio in a correct way, and it doesn't
seem to be called early enough even for regular files.

26 years agoUndouble.
Bruce Evans [Fri, 1 May 1998 15:51:23 +0000 (15:51 +0000)]
Undouble.

26 years agoFixed disordering and other style bugs in rev.1.50.
Bruce Evans [Fri, 1 May 1998 15:46:06 +0000 (15:46 +0000)]
Fixed disordering and other style bugs in rev.1.50.

26 years agoRemoved self-inclusion-prevention ifdef. It is unnecessary now that
Bruce Evans [Fri, 1 May 1998 15:39:46 +0000 (15:39 +0000)]
Removed self-inclusion-prevention ifdef.  It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.

26 years agovm_page_is_valid() wasn't expecting a large offset argument, it's
Peter Wemm [Fri, 1 May 1998 15:10:59 +0000 (15:10 +0000)]
vm_page_is_valid() wasn't expecting a large offset argument, it's
expecting a sub-page offset.  We were passing the file position,
and vm_page_bits() could do some interesting things when base was
larger PAGE_SIZE.
if (size > PAGE_SIZE - base)
size = PAGE_SIZE - base;
is interesting when (PAGE_SIZE - base) is negative.  I could imagine that
this could have interesting consequences for memory page -> device block
bit validation.

26 years agoFix one problem with NFSv3 > 2GB file support.
Peter Wemm [Fri, 1 May 1998 15:04:35 +0000 (15:04 +0000)]
Fix one problem with NFSv3 > 2GB file support.

Submitted by: bde

26 years agoInherit BINDIR properly.
Bruce Evans [Fri, 1 May 1998 14:48:06 +0000 (14:48 +0000)]
Inherit BINDIR properly.

26 years agoFixed apparent bitrot (`=' changed to `?=') in the definition of BINDIR
Bruce Evans [Fri, 1 May 1998 14:44:00 +0000 (14:44 +0000)]
Fixed apparent bitrot (`=' changed to `?=') in the definition of BINDIR
in the previous commit.  Just don't define it here at all.  This works
now that the default is inherited properly.

26 years agoRemoved self-inclusion-prevention ifdef. It is unnecessary now that
Bruce Evans [Fri, 1 May 1998 14:37:36 +0000 (14:37 +0000)]
Removed self-inclusion-prevention ifdef.  It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.

Removed GDBDIR-redefinition-prevention ifdef.  It hasn't done anothing
for a long time, if ever.  The directory is defined to the same value in
each subdir and had the same value because all subdirs are at the same
level.  Keep defining it in the subdirs since that is more flexible and
no more verbose.

Prepare to inherit BINDIR by including ../Makefile.inc.

26 years agoOops, This should have been committed with the Makefile change that
Bruce Evans [Fri, 1 May 1998 14:13:00 +0000 (14:13 +0000)]
Oops, This should have been committed with the Makefile change that
requires the new file.

Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo.  Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here.  Link to it
at build time.

26 years agoFixed dependencies.
Bruce Evans [Fri, 1 May 1998 14:08:30 +0000 (14:08 +0000)]
Fixed dependencies.

Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo.  Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here.  Link to it
at build time.

26 years agoMention the 2GB NFS v2 filesize limit.
Peter Wemm [Fri, 1 May 1998 13:52:17 +0000 (13:52 +0000)]
Mention the 2GB NFS v2 filesize limit.

PR: 6335
Submitted by: tom@sdf.com

26 years agoDon't give examples or use the depreciated usage to nfsd
Peter Wemm [Fri, 1 May 1998 13:45:04 +0000 (13:45 +0000)]
Don't give examples or use the depreciated usage to nfsd

PR: 5635

26 years agoDon't delete man pages with colons in their name (e.g. Perl 5 manpages)
Dag-Erling Smørgrav [Fri, 1 May 1998 13:27:27 +0000 (13:27 +0000)]
Don't delete man pages with colons in their name (e.g. Perl 5 manpages)

PR: bin/5439
Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at