Commit Graph

44378 Commits

Author SHA1 Message Date
agc
65e1849228 Garbage collect unused variable..
Update documentation accordingly.
1998-10-09 09:22:15 +00:00
pk
57a688f81e Init a variable. 1998-10-09 08:01:33 +00:00
matt
832a061bca Fix some old mistakes when I originally committed this. 1998-10-09 06:20:06 +00:00
matt
c4ece7cdcb Commit out include of "../include/macros.h" since its bcopy conflict with
the one in "lib/libsa/stand.h".
1998-10-09 06:15:33 +00:00
matt
71364ebea6 Workaround problem with le driver forgetting its address 1998-10-09 06:14:22 +00:00
matt
3d8c929799 Remove define for SUPPORT_BOOTPARAMS and put in the Makefile instead.
Fix DHCP code so it works.
1998-10-09 06:13:30 +00:00
matt
7d79b82d33 include <bsd.prog.mk> and make changes so that "make obj" works.
Make it easy to build an boot which uses BOOTP/DHCP instead
RARP/BOOTPARAMS.
1998-10-09 06:12:31 +00:00
matt
bbf29cff44 Add strncpy (needed for bootp/dhcp). Tighten up some of the assembly. 1998-10-09 06:09:48 +00:00
enami
3c12da56ad Initialize the global variable `shuttime' with current time when
user requested to shutdown now, so that correct time is written in
/etc/nologin.
1998-10-09 03:01:40 +00:00
erh
2a1165d74d Initialize the correct fields when creating an empty command. Fixes bug where a function with no body ( e.g. "testfun () ;" ) would cause ksh to segfault when it was called. 1998-10-09 02:45:34 +00:00
erh
bc642404be getwd() -> getcwd(,MAXPATHLEN). 1998-10-09 02:42:28 +00:00
enami
2691695883 Add -p option in usage. 1998-10-09 02:26:17 +00:00
enami
138ef65e24 Sort options in SYNOPSIS alphabetically. 1998-10-09 02:24:08 +00:00
enami
4023401291 - To make this file compile again on NetBSD, force to use
old (i.e. posix version of timespec) code if defined(__NetBSD__).
- Introduce some macro for readability.
1998-10-09 02:00:39 +00:00
mark
45a8df778f Remove some unnecessary includes. 1998-10-09 00:17:20 +00:00
wsanchez
1b21ebd11c Global replace:
-#ifdef _POSIX_SOURCE
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) || defined (_XOPEN_SOURCE)
1998-10-08 23:30:35 +00:00
pk
312385da0a Define SMP versions of some cache flush methods. 1998-10-08 22:27:32 +00:00
pk
41d031837e Define a message structure of inter-processor communication. 1998-10-08 22:25:42 +00:00
pk
f3c4a67a7f Adapt to changes to the cpus[] array. 1998-10-08 22:23:44 +00:00
pk
34ad8e5fb7 Find out about the number of CPUs in the system before starting device
configuration, so we can build a cpus[] array without "holes".
1998-10-08 22:14:44 +00:00
pk
a61ee50b27 Move [gs]etcontext and [gs]etpte() to pte.h 1998-10-08 21:49:12 +00:00
pk
e6bbfcc58a Move [gs]etcontext() and [gs]etpte() to pte.h 1998-10-08 21:47:34 +00:00
is
6662b5ed74 - define framework for >8bit transfers
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
1998-10-08 21:46:39 +00:00
thorpej
0a70a74239 Regen. 1998-10-08 20:44:00 +00:00
thorpej
8ba90a1c93 Correct product ID for Socket Communications Dual Serial Adapter. 1998-10-08 20:43:42 +00:00
thorpej
b69841d26a Add a NOSYNCCACHE quirk for the Micropolis 2217-15MQ1091501, as reported
by Matt Jacob, PR #6027.
1998-10-08 20:24:10 +00:00
thorpej
39f4d1c239 Handle devices that have the SDEV_NOSYNCCACHE quirk. 1998-10-08 20:21:13 +00:00
thorpej
7be31bed79 Add a "NOSYNCCACHE" quirk, as suggested by Matt Jacob in PR #6027. 1998-10-08 20:17:52 +00:00
thorpej
19d188b293 Regen. 1998-10-08 20:12:52 +00:00
thorpej
1b15f541a6 Add Megahertz X-JACK 56kbps Modem, from Johnny C. Lam, PR #6173. 1998-10-08 20:11:59 +00:00
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