Commit Graph

31538 Commits

Author SHA1 Message Date
imp
b993943913 getopt returns -1 not EOF 1998-09-09 17:24:31 +00:00
imp
866804ad01 Add dependency for subr_bus.c on bus_if.h and device_if.h so that a make
depend is not required to just build the kernel.

Reviewed by: Doug Rabson
1998-09-09 17:23:25 +00:00
imp
3b37a1b597 Print warning about block size not being optimal once per open rather than
once per offending write.
1998-09-09 17:20:32 +00:00
imp
640d2c783a Fix fencepost error in readlink; inspired by OpenBSD 1998-09-09 17:14:17 +00:00
imp
e38600c29f Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +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
dt
098e5b9a89 Fixed bug, caused threads to wait for locks which nobody hold.
Fixed sign extension bug, caused undefined behavior if FILE live in stack.
1998-09-09 16:50:33 +00:00
bde
b5a6b5d023 Don't refuse to pass the force and sync options to the kernel. The
kernel supports them, and the force option will be more important
when mounting of unclean ext2fs file systems is not permitted unless
it is forced.
1998-09-09 16:26:51 +00:00
obrien
05172643a8 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
kato
9880fc9dc7 Set the `pc98' string to the MACHINE if machdep.ispc98 != 0. 1998-09-09 14:58:30 +00:00
kato
dfa2d1e0c9 Sync with sys/i386/conf/majors.i386 revision 1.47. 1998-09-09 14:40:27 +00:00
kato
eca426c28a Sync with sys/i386/conf/files.i386 revision 1.202. 1998-09-09 14:39:56 +00:00
kato
6c29b07c00 Sync with sys/i386/conf/options.i386 revision 1.85. 1998-09-09 14:39:20 +00:00
jkh
5a4955a0bc Remove perl5 from list of ports to build now that it's in the base system. 1998-09-09 14:20:22 +00:00
markm
02d12b26cb Minimalist fixes to make BMaked perl build. 1998-09-09 13:10:47 +00:00
bde
d2c322d7f6 Don't forget to initialize the inode lock. This bug caused
surprisingly few problems.  Most fields were initialized to the
correct values by bzero(), but lk_prio was 0 instead of PINOD (=8),
the lk_wmsg was NULL instead of "ext2in", and lk_lockholder was 0
instead of -1.

Obtained from:	Lite2 via the -current ffs_vfsops.c
1998-09-09 13:09:24 +00:00
bde
9493c9f45d Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants).
1998-09-09 12:22:17 +00:00
kato
20d8a739bd Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98. 1998-09-09 11:27:33 +00:00
kato
0c6fdf055e Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
kato
256379f728 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:13:55 +00:00
cracauer
40c6bdc10d Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
bde
d8f63404fc Fixed disordering and misformatting in previous commit.
Don't override correct default targets.

Don't use afterinstall for installing things; it is for fixups after
installing things.
1998-09-09 10:17:34 +00:00
bde
b8a6659363 Backed out rev.1.28. It was bogus because bsd.man.mk is only used
(and only usable) by other .mk files that have their own multiple
inclusion protection.
1998-09-09 10:12:07 +00:00
bde
38ad69f345 Turned on -Wformat -fformat-extensions. -fformat-extensions requires a
-current version of gcc.  Without it, -Wformat would complain about all
the nonstandard %[Dbrz] formats in the kernel.
1998-09-09 10:04:58 +00:00
jb
0e7b8a8da0 Don't define RANLIBMAG if building an elf version of make. The RANLIBMAG
option lets make look inside archive libraries when determining if a
library is out-of-date. I don't think that make should look inside
files, so this fix effectively tells it not to. If the decision is
made (by someone else) that make _should_ be doing this, it will need
to be taught how to recognise elf archive libraries.

Problem noticed by: Joseph Koshy <jkoshy@freebsd.org>
1998-09-09 08:29:15 +00:00
bde
dbe6ad54cd Don't use CTL_VFS at the wrong level. This caused loops in the sysctl
tree if CTL_VFS happened to get assigned as a type number to a vfs that
has some vfs sysctls.
1998-09-09 07:41:41 +00:00
markm
22ddc2a171 Bring in the Perl5 BMake files. This ends the easy stuff.
I'll be doiung the rest in stages.
1998-09-09 07:20:33 +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
markm
4fcbc3669a Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
markm
cb3aa05291 Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
jb
82de866dd9 Add the missing rerelease target back.
Reported by: Justin Gibbs.

Add the move-aout-libs upgrade target so that people who have already
gone elf can put their libraries through the mincer. Anyone who hasn't
deleted aout libraries from /usr/lib (but has done a make world putting
the new aout libs in /usr/lib/aout) will be asked for confirmation
to delete them one by one.
1998-09-09 06:07:32 +00:00
jb
9554c8ce0c Add the missing rerelease target back.
Reported by: Justin Gibbs.
1998-09-09 06:03:51 +00:00
jb
6771aa16b0 Add a move-aout-libs target to do just that. It takes the well known
library directories: /usr/lib /usr/lib/compat /usr/local/lib and
/usr/X11R6/lib and adds any other directories that ldconfig knows
about, then removes any that are already aout directories (that is,
with aout as a component of the path) and passes this directory
list to the move_aout_libs.sh script to do the hack (believe it,
it moves libraries that are in use) work.
1998-09-09 06:02:31 +00:00
markm
c88512597a Another place to set NOPERL. 1998-09-09 06:01:37 +00:00
markm
2fac4731a0 Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.
1998-09-09 06:01:11 +00:00
jb
2a983d9710 Add a note about the upgrade tool directory. 1998-09-09 05:48:51 +00:00
jb
73ed093cb0 A script for use when upgrading an installed system from aout to
elf.
1998-09-09 05:28:18 +00:00
jkoshy
59069acd01 Fix spurious `free()' when -d g2 is enabled.
PR:		6790
Submitted by:	nsmart <njs3@doc.ic.ac.uk>
1998-09-09 05:15:38 +00:00
danny
fbca1bfc85 Fix typos. 1998-09-09 05:09:55 +00:00
jkh
dfa12d74eb Some preliminary updates to the release notes, just as I think of
them.  By no means a comprehensive list of all the things which should
eventually go in here before 3.0-RELEASE, nor are the CAM issues
reflected here yet.
1998-09-09 03:37:00 +00:00
jkoshy
901ec14e63 Add missing comma.
PR:		7841
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-09-09 03:07:03 +00:00
gibbs
90142eded7 Reserve character major 104 for the CAM Transport Layer Services device. 1998-09-09 03:07:02 +00:00
jkoshy
51ced80ab7 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
msmith
565226fa1c Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by:	Scott Michel <scottm@cs.ucla.edu>
1998-09-09 02:22:28 +00:00
jkoshy
b2baba7514 Add $Id$, remove quoting for `...'.
Requested by: bde
1998-09-09 01:30:25 +00:00
jdp
7aadfa5c68 Add a new library function getobjformat(). It checks all the
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format.  This
consolidates some code that was starting to be duplicated in more
and more places.

Use the new function in ldconfig.

Note: I don't think that gcc should use getobjformat(), even though
it could.  The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.
1998-09-09 01:21:25 +00:00
brian
5279ba7b15 Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.
1998-09-09 00:03:09 +00:00
wpaul
166efce876 - If the OACTIVE flag is set on entry to xl_start(), check to see if the
transmitter is wedged. If so, try to unwedge it, process any descriptors
  that might need to be free()d, then proceed.

- Disable the 'background' autonegotiation performed during bootstrap.
  What happens currently is that the driver starts an autoneg session,
  the sets a timeout in the ifnet structure and returns. Later, when the
  timer expires, the watchdog routine calls the autoneg handler to check
  the results of the session. The problem with this is that the session
  may not complete until some point after we have started to mount NFS
  filesystems, which can cause the mounts to fail. This is especially
  troublesome if booting with an NFS rootfs: we need the interface up
  and running before reaching the mountroot() code.

  The default behavior now is to do the autoneg synchronously, i.e. wait
  5 seconds for the autoneg to complete before exiting the driver attach
  routine. People who want the old behavior can compile the driver with
  XL_BACKGROUND_AUTONEG #defined. This has no effect on autoneg sessions
  initiated by 'ifconfig xl0 media autoselect.'

  This slows the probe down a little, but it's either that or botching
  NFS mounts at bootup.

- If xl_setmode_mii() is called and there's an autoneg session in progress,
  cancel it, _then_ set the modes.
1998-09-08 23:42:10 +00:00