Commit Graph

44598 Commits

Author SHA1 Message Date
thorpej 67b94a13ed Add the Intel 82443BX PCI host bus adapter. From Soren S. Jorvang, PR #6250. 1998-10-08 20:04:32 +00:00
thorpej 5599443810 If ISA DMA is not present in the kernel (i.e. no ISA DMA-using devices
configured in), don't call ISA DMA functions to check for DRQs being
free.  Just return EINVAL in this case.  Fixes PR #6187, from Herb Peyerl.
1998-10-08 19:59:20 +00:00
chuck 495b6aafdc fix ppref botch. establish ppref at split time before we add the duplicate
reference.
1998-10-08 19:47:50 +00:00
thorpej 6a2b035300 Add a NOLUNS quirk for the Sony CDL1100 changer, from Chris Jones, PR #6238. 1998-10-08 18:46:15 +00:00
wsanchez 8a99d7cf5d Fix bug where "cp -f" didn't work.
It's suppsed to remove the file and then copy, which it wasn't doing.
But no wait, it turns out that the described behaviour in the manual doesn't
  agree with POSIX. So we change the above fix and the manual to "try copy, and
  if fail, try remove, then copy".
Fix bug where "cp -R" didn't work on read-only directories:
  It would make the directory, set the mode, and not be able to write files into it.
Don't bother mmap()ing files of zero length. Was a workaround for a bug in Rhapsody
  mmap(), which didn't get along with such files, but makes sense anyway.
Fix race condition where "cp -p" would set the mod time of a file before close()ing
  the file, which would update the mod time and therefore screw up the "-p" idea,
  except, of course, while running in gdb, which sucked.
Add -f option to usage message in binary and man page. Already documented in man page.
1998-10-08 17:43:24 +00:00
wsanchez 55ce51b29f Get rid of commons.
Rename vfree() to v_free() to avoid conflict in out libc's vfree().
1998-10-08 17:36:55 +00:00
lukem da0a823fb0 * hash & progress are mutually exclusive. [noted by mrg@netbsd.org]
* in autofetch mode, don't attempt to 'cd /' on first xfer (only on
  subsequent xfers), as some ftp daemons don't permit that.
  [noted by dbj@netbsd.org].
  XXX: code could be smarter (but a lot more complicated to boot); this
  works for now.
1998-10-08 14:45:26 +00:00
matthias b9fd5a00c7 Add a (missing?) SKIP_WHITESPACE at the beginning of obj_aout_type. This
was present in our "old" gas and at least on the pc532 ".type" creates
a symbol with a zero-length name without this.
1998-10-08 14:26:40 +00:00
ws 3e28defef4 No point in making the fake partition that large.
This smaller one will (hopefully) make 0-start
installations work on more machines.
1998-10-08 14:25:42 +00:00
matthias ec002dcddf tc-ns32k.h: make this work with te-nbsd.h.
tc-ns32k.c: frag_grow can't take negative arguments, revert to using
obstack_blank_fast in convert_iif.
1998-10-08 14:22:32 +00:00
matthias 9e8e220306 Initial commit of gas.new support for NetBSD/pc532. 1998-10-08 14:17:18 +00:00
jtk 46510bb5d4 make network-location-changed actually work 1998-10-08 14:13:25 +00:00
kleink 329b130573 Add an internal name for getdtablesize(), since it's being used internally. 1998-10-08 13:49:16 +00:00
agc 70c6765099 Eliminate all use of sprintf(3), and replace it with snprintf(3).
Bounds check the @exec and @unexec commands when they are constructed.
1998-10-08 12:57:58 +00:00
agc b6bd49da4e One more piece of lint. 1998-10-08 12:22:54 +00:00
kleink b0d97e66b2 Oops, also needs "namespace.h". 1998-10-08 12:18:18 +00:00
agc e5d1fd5f5a Get rid of some lint.
No functional changes.
1998-10-08 12:15:24 +00:00
mrg 3e9d54f492 print the strerror if swapctl fails. 1998-10-08 10:00:31 +00:00
itohy edb019abaf Eliminate memory leaks.
Use  xrealloc()  rather than  xmalloc/memcpy/free  trio.
1998-10-08 08:20:37 +00:00
tron c8eb5cc943 Copy "named-xfer" binary to "/usr/libexec" not to "/usr/sbin".
Fixes bin/6261 by Geoff C. Wing.
1998-10-08 07:41:57 +00:00
simonb 513ff15404 sync minor version number of libc 1998-10-08 04:36:58 +00:00
eeh b6fd7187e0 Fix more syscall32 and signal breakage. 1998-10-08 02:31:39 +00:00
eeh aba7891e3d Fix libc signal breakage (I hope). 1998-10-08 02:27:58 +00:00
wsanchez 420c1e461a *** empty log message *** 1998-10-08 02:15:14 +00:00
wsanchez 508f3bd4f6 umask()/mkdir() system calls will not set the setuid bit; the kernel intentionally
discards the high bits, so "mkdir -m 1777 foo" won't set the sticky bit. So call
  chmod() on the directory.
1998-10-08 02:14:16 +00:00
wsanchez 266388e1a4 Handle non-POSIX version of timespec. 1998-10-08 02:13:30 +00:00
wsanchez 438823cc1c Add new option -S, which is like -s, but takes a string of options to pass to strip,
rather than "-s". For example:
	install -S "-i -s symbolfile" foo /usr/bin/foo
  Invokes:
	/bin/sh -c "strip -i -s /usr/bin/foo"
  This is needed, because we need different strip options for dynamic libraries and
  Mach-O bundles than for executables; our strip supports more directed stripping.
  /bin/sh is used in this case, to parse the arguments.

Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(),
  which didn't get along with such files, but makes sense anyway.
1998-10-08 02:12:51 +00:00
wsanchez ef9982bb8e Cast args to strpct() u_long, as in the prototype, not ulong. 1998-10-08 02:10:36 +00:00
thorpej 0b4cfbfe6e Fix some whitespace lossage. 1998-10-08 02:06:13 +00:00
wsanchez c45946d27c Use u_int32_t rather than Sys-V u_long.
Rename err() to mtree_err(), to avoid conflict with libc.
1998-10-08 02:04:55 +00:00
wsanchez 3e7294fa8d Init dev to quiet compiler. 1998-10-08 02:01:11 +00:00
mark 8d41878215 Add pckbc device, keyboard and mouse and wskbd and wsmouse via pckbc. 1998-10-08 01:59:22 +00:00
wsanchez cc084df5da Init style to quiet compiler.
Allow zcat hard link to compress rather than using zcat.sh wrapper; same as uncompress.
Don't install zcat, however; gzcat seems to be living in /usr/bin/zcat at the moment.
1998-10-08 01:56:28 +00:00
mark d21eb4802d Rename the pckbd attribute to avoid clashing with the pckbd device
from dev/pckbc/*
Include files.pckbc
1998-10-08 01:50:28 +00:00
thorpej 14f5ac9081 Use the pool allocator for ipflow entries. 1998-10-08 01:41:45 +00:00
wsanchez 76c99f3c0a We can't define MACHINE from a makefile in Rhapsody, because you might be cross
compiling, or building a fat (multi-architecture) binary.  Our compiler
  defines __ARCHITECTURE__ for this use.
Fixed an off-by-one error that may occasionally cause man to seg fault. Found
  by using a special strict malloc() implementation.
1998-10-08 01:36:04 +00:00
wsanchez c19ec78ded Include unistd and sys/fcntl.
Add return types to functions.
1998-10-08 01:32:23 +00:00
wsanchez 1696358aa0 Didn't get along with ObjC/C++ style "//" comments. Add code to deal with that. 1998-10-08 01:31:59 +00:00
wsanchez 1a8d48f462 Add return 0 after errx in to quiet the compiler 1998-10-08 01:31:34 +00:00
wsanchez 9e44eb8cc1 Add __ppc__ test 1998-10-08 01:30:50 +00:00
wsanchez ab92b4feee Get rid of multiply defined common symbols 1998-10-08 01:30:27 +00:00
wsanchez 6f3b17afac #elsej (!) should be #else 1998-10-08 01:29:49 +00:00
wsanchez d2b96d3f77 Get rid of multiply defined common symbols
langauge should be language in error.h
1998-10-08 01:29:27 +00:00
thorpej 974aa74abd Use the pool allocator for ipqent structures. 1998-10-08 01:19:25 +00:00
ross ccc17f86dd g/c debug rule 1998-10-08 01:08:24 +00:00
ross e462ec8f09 Simplify the SRCDIR comment. 1998-10-08 00:44:16 +00:00
ross 7fc1302b5d The recent cross-compile changes broke the build of x_sh. Properly use
${.IMPSRC} instead of the broken ${.CURDIR}/thing.c.
1998-10-08 00:29:38 +00:00
erh edeeb71bd8 Add the sigaction call. 1998-10-07 23:48:04 +00:00
erh 00a3eb89be This is used on the alpha. It is called osf_sigaction under linux because of the format of the sigaction structure but it acts the same. 1998-10-07 23:47:44 +00:00
thorpej 588ccb2d75 Fix some typos in comments, and clean up some whitespace. 1998-10-07 23:33:02 +00:00