Commit Graph

30157 Commits

Author SHA1 Message Date
cgd 866bc1b267 sync with dev/isa/wd.c rev. 1.162:
>date: 1997/07/18 00:26:22;  author: fvdl;  state: Exp;  lines: +10 -10
>Work around possible race condition with 2 drives on one controller
>in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
S: ----------------------------------------------------------------------
1997-07-19 06:39:22 +00:00
jtc 2526fda257 Implement sleep() and usleep() in terms of nanosleep(). Uses only one
syscall instead of eight, and doesn't have any interactions with alarm
or interval timers.
1997-07-19 02:42:30 +00:00
is 4d8c2c3528 Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
1997-07-19 00:01:40 +00:00
perry 1edc7aef02 fix 3885 from Matthias Scheler -- print out the name of each loaded module 1997-07-18 23:38:52 +00:00
perry 4c79cc7435 fix 3884 from SAITOH Masanobu 1997-07-18 23:31:00 +00:00
thorpej 1569c18c63 Fix typo in previous. 1997-07-18 23:08:45 +00:00
thorpej 1c4fcb7069 Cast pointers to u_long before casting to another integral type. 1997-07-18 23:07:44 +00:00
thorpej 1f01636e14 Cast time_t's to long, and use %ld format, when printing. 1997-07-18 22:48:31 +00:00
thorpej 3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
thorpej c5dab54215 - Be more careful with type sizes (many u_long -> u_int32_t in protocol
structures).
- Use NTOH*() and HTON*() where appropriate.
- Some slight formatting cleanup in a few places.
1997-07-18 19:30:33 +00:00
thorpej d891aff808 Cast the result of pointer arithmetic to "long", and use %ld to print it. 1997-07-18 17:46:59 +00:00
christos 7af5edbdc3 Fix reversed test for version 3 that broke nfs version 2 mounts. 1997-07-18 17:31:46 +00:00
jtk ce7e4557dd Don't generate defines for locators or bus attachments which have spaces
or tabs in the names; we can't generate reasonable #defines in those cases.
fixes PR# 3880.
1997-07-18 11:27:37 +00:00
veego 344a043fcf Build with warnings enabled on m68k systems. 1997-07-18 10:52:36 +00:00
thorpej 79f6630e5a Rearrange a little, and build with WARNS. 1997-07-18 08:16:57 +00:00
thorpej 587f144521 - Fix compiler warnings.
- KNF.
1997-07-18 08:10:41 +00:00
thorpej e17f9e900e Teensy change to use WARNS. 1997-07-18 07:57:55 +00:00
thorpej a5e58d3dda Fix compiler warnings. 1997-07-18 07:47:26 +00:00
thorpej 469760f207 - Don't deref bad pointer if domain name isn't set.
- Fix compiler warnings.
- KNF.
1997-07-18 07:40:42 +00:00
thorpej 00c02e3e6b - Fix compiler warnings.
- KNF.
1997-07-18 07:05:35 +00:00
thorpej 981a9bdece - Clean up compiler warnings.
- KNF.
1997-07-18 06:16:29 +00:00
thorpej 0beec2c555 Correct the prototype of the (*foreach)() member of the yp_all callback. 1997-07-18 06:11:16 +00:00
thorpej 8b278df35a Change the extern declaration of __flt_rounds() into a proper prototype. 1997-07-18 05:11:52 +00:00
thorpej 697496a1e7 Pull in __flt_rounds() prototype. 1997-07-18 05:10:02 +00:00
thorpej 0970670295 Be careful with types. XXX sys/netns needs to be swept, but this addresses
libc, at least.
1997-07-18 04:55:57 +00:00
thorpej 97e482f3c8 - Enable COMPAT_NOMID
- Bump ptys to 128.
1997-07-18 04:14:34 +00:00
jtk 7be59a897b remove old *_UNK style default defines, use standard names from locators.h 1997-07-18 03:38:33 +00:00
ender c8f37f7d88 o Minor manpage stylistic cleanups
o Fixed NetBSD version references
1997-07-18 02:17:04 +00:00
ender 48fe6d80a1 Added section 4 manual pages for the mac68k:
o main processor bus
  o onboard I/O bus
  o ADB event device
  o autoconfiguration process
1997-07-18 02:13:39 +00:00
phil 84d2fe3f1c Correct 12am and 12pm to be midnight and noon resprectively.
Patch from PR 1743.
1997-07-18 01:09:48 +00:00
fvdl 87dd567ffa Fix PR 3799, make sure the procedure number is handled as unsigned, to
prevent bad things happening
from Azuma OKAMOTO <lfo@sayori.dais.is.tohoku.ac.jp>
1997-07-18 01:01:33 +00:00
thorpej ef909f429a Pull in __flt_rounds() prototype. 1997-07-18 00:30:30 +00:00
thorpej a323ef09ba Build with warnings enabled on the Alpha. 1997-07-18 00:28:15 +00:00
fvdl 3dd82f1394 Work around possible race condition with 2 drives on one controller
in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
1997-07-18 00:26:22 +00:00
phil e285bfacc1 Add a new example to SYNOPSIS, change the example. This is in response
to the fact that the /bin/sh set command always sets the exit status to
0, so testing $? will not help discover if getopt found an error if
getopt is used via "set -- `getopt ....`".  (POSIX 1003.2 D11 draft says
that the sh set command must return 0 as the exit status.)

I think that POSIX is wrong or that is is not well enough specified to
allow the result of the set to be the exit status of the getopt.  But
considering the sequential nature of execution, the set is done last
and is the "last command" and therefore must be the one to set the exit
status.  At least there is a work-around for shell scripts.
1997-07-18 00:18:26 +00:00
fvdl 43e1b9384f * Deal with servers that don't give complete FSINFO (like NT)
From Olaf Seibert <rhialto@polder.ubc.kun.nl> (PR 3687)
* Make an attempt to check the maximum filesize before attempting
  a write to the server, as write RPCs will typically happen
  asynchronously, and the process will not see the error.
  Fixes problems with unexpectly truncated files at 4G
* Pass up errors in nfs_writerpc correctly
1997-07-17 23:54:27 +00:00
fvdl f2377e977b When allocating a new block, store the result obtained through counting
indirect blocks in a 64 bit integer, to prevent overflows when computing
NINDIR^3
1997-07-17 23:40:07 +00:00
is fc3de9d828 Make the DraCo hardware clock an autoconfiguration device. 1997-07-17 23:29:28 +00:00
gwr f2ab2a3550 Get the length right in _kvm_sun3x_kvatop(). 1997-07-17 22:42:00 +00:00
thorpej 7a8a1f3f1a Turn the extern declaration of __flt_rounds() into a proper prototype. 1997-07-17 21:36:03 +00:00
thorpej 2d0f14c527 "Fix" the non-__indr_reference verions of the user-callable versions
of these functions.  This is somewhat of a kludge, but there is not
much else we can do for this case.

Because of how the callable versions are created, by CPP trickery
and inclusion of another .c file, we cannot allow the included .c
file to pull in "namespace.h", since it undoes the CPP trickery we
have performed.  Introduce a CPP macro that prevents the included .c
file from pulling in "namespace.h".
1997-07-17 21:33:14 +00:00
thorpej 2f4f59a76f Do the non-__indr_reference verions of thse like the cat*(3) functions,
modulo a slight kludge to get around the namespace trickery played
in <resolv.h>.
1997-07-17 21:27:33 +00:00
thorpej a3ec8b6d7f Cast the result of pointer arithmetic to "long" for printing, and use
%ld printf format.
1997-07-17 21:25:18 +00:00
thorpej 335d6b9922 Do the non-__indr_reference versions like the cat*(3) functions. 1997-07-17 21:15:33 +00:00
phil a621321b0e Add /usr/share/sendmail/cf that got missed in original addition of
/usr/share/sendmail/*.  Closes PR 3881.
1997-07-17 20:45:01 +00:00
phil f49d42bbb3 ispcvt Makefile looked like it was trying to install ispcvt in /usr/sbin.
Changes to make that happen.  From PR 3570.
1997-07-17 19:47:10 +00:00
kleink 337622d4c1 Remove extraneous trailing space from ``ANSI C'' invented in lite2 import. 1997-07-17 19:42:45 +00:00
thorpej 135f03fe8e The return value from ntohl() is an in_addr_t, and should not be printed
with a "long" format modifier.
1997-07-17 18:48:01 +00:00
thorpej 8d85b14ca8 Give the __GNUC__ versions of ntohl() and friends the proper (in_addr_t
or in_port_t) signature.
1997-07-17 18:44:08 +00:00
thorpej 479b2bfa75 XXX KLUDGE! Duplicate the namespace-clean prototype for architectures
that lack __indr_reference(), so that this can be built with WARNS=1.
1997-07-17 18:30:09 +00:00