Commit Graph

47298 Commits

Author SHA1 Message Date
bouyer
36de4a0b2f Update for bswap.h and byte_swap.h includes. 1999-01-19 08:59:02 +00:00
mycroft
3d9372fc29 Simplify this code slightly. 1999-01-19 08:32:34 +00:00
lukem
b247a8eceb * passwd' defaults to compat', and passwd_compat' defaults to nis'
* constify ns_dtab defs
1999-01-19 08:30:46 +00:00
lukem
c7e9373f32 formatting nits 1999-01-19 08:28:03 +00:00
lukem
6b348d99e9 constify ns_dtab defs 1999-01-19 08:26:35 +00:00
lukem
83eb1ce66b note new defaults for hosts, passwd, and passwd_compat 1999-01-19 08:26:14 +00:00
lukem
6a471ed8f9 convert to new nsdispatch(3) 1999-01-19 08:07:58 +00:00
lukem
27323a9339 * maximum limit of names is MAXLOGNAME not UT_NAMESIZE. fixes [bin/6847] from
scott ellis.
* convert to new nsdispatch(3)
1999-01-19 08:04:27 +00:00
lukem
0ae6c2e5b8 convert to new nsdispatch(3) 1999-01-19 08:01:48 +00:00
lukem
66c9a837d5 convert to new nsdispatch(3). lookup defaults back to "dns files" 1999-01-19 08:01:12 +00:00
lukem
37df672063 * support extra two arguments to nsdispatch():
const char *method		/* method name for dynamic linking */
	const ns_src defaults[]		/* list of defaults */
* document above, and expand other docco.
1999-01-19 07:58:05 +00:00
lukem
ecaf658368 * support extra two arguments to nsdispatch():
const char *method		/* method name for dynamic linking */
	const ns_src defaults[]		/* list of defaults */
* bring ns_src into the public arena for above
* make NS_xxx_CB() expand to nothing instead of { src, NULL } - makes
  the tables smaller
* convert 'typedef struct xyz { ... } xyz' -> 'typedef struct { ... } xyz'
  (which is how it used to be before i experimented with (and ditched) TAILQs)
1999-01-19 07:55:14 +00:00
cgd
c014ce1d6e Don't use the RCS 'Name' keyword, it makes doing release builds more
annoying for no good reason.  Since a version seems to be desired,
define an OS_VERSION string in the Makefile and use it in the code.
1999-01-19 07:05:59 +00:00
abs
593d6c65b9 Add '-f disktab' option to disklabel, via lib/6623 from
Greg A. Woods <woods@most.weird.com>. (Very) slightly tweaked disklabel.8
1999-01-19 06:24:08 +00:00
lukem
df91e2ba06 support nis lookups for getnetby*() 1999-01-19 04:10:23 +00:00
lukem
c6e56aa78a don't bother with nsdispatch(); just link in the relevant bits of
libc's gethostby*() and getnetby*() directly (with -UYP).
1999-01-19 03:53:27 +00:00
lukem
67ae78f9e1 fix error message 1999-01-18 23:42:38 +00:00
christos
a492eb7eff Lint fixes:
- extend __GNUC__  if (0) hack for lint, make it use an unused
	  variable, and move it in reachable code.
	- fread and fwrite size_t casts.
	- use yy_size_t where appropriate.
1999-01-18 22:18:17 +00:00
christos
f2cded7b79 Enable -DLINTCOMMENT 1999-01-18 21:14:50 +00:00
tron
175f482885 Fix for broken send file function supplied by Frederick Bruckman in
in PR bin/6834.
1999-01-18 20:54:43 +00:00
tron
d7a2e284b1 Check for location of xdm's pid file as suggested by Simon Burge.
Fixes PR misc/6828 by Paul Goyette.
1999-01-18 20:41:54 +00:00
christos
6304dadc4d delint 1999-01-18 20:36:32 +00:00
ross
c79856181a NetBSD RCS id. 1999-01-18 20:36:22 +00:00
ross
7346c0043b FreeBSD's fpu.h. 1999-01-18 20:33:23 +00:00
christos
73a72701ab Add -F to LINTFLAGS so that the full pathname is printed. 1999-01-18 20:22:54 +00:00
christos
759b834daa sprintf -> snprintf (not needed, but since snprintf is used everywhere else) 1999-01-18 20:21:19 +00:00
bouyer
a1471db64a move wd.c:print_wderror() to ata.c:ata_perror().
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.
1999-01-18 20:06:24 +00:00
drochner
a1038a18af remove wsdisplay_has_emulator(), this is not meaningful with virtual screens,
and it did not work with external (serial) consoles what can cause that
a display has no screen and thus no "focus"
1999-01-18 20:03:59 +00:00
christos
b5ea93f921 PR/6837: Greg A. Woods: Bring into scope getpeername to make sure that
the #define workaround works. XXX: But we don't need this workaround
	 for NetBSD.
1999-01-18 19:54:20 +00:00
drochner
e755eb28ce fix the use of the libwrap methods:
-fromhost() doesn't work because the file descriptor isn't available
 at this point, see PR bin/6813
-it needs some initialization for libwrap to grok the IP address and/or
 host names in its rule files (see PR bin/6831 by Andreas Wrede
 <andreas@planix.com>, the fix is different)
Needless to say that libwrap's interface sucks.
1999-01-18 19:47:36 +00:00
christos
05c9a1f2b5 PR/6837: Greg A. Woods: Add RBL capability for libwrap. 1999-01-18 19:45:26 +00:00
christos
6ab93ab855 PR/6836: Grag A. Woods: Formatting errors and limitation doc. 1999-01-18 19:39:24 +00:00
mjacob
83270f242f If you're BIG_ENDIAN and use bswapXX, pull in the header file that prototypes
these functions.
1999-01-18 19:17:00 +00:00
christos
ee880a75bf PR/6835: Greg A. Woods: Various problems with tcpdchk
- fakelog.c contains extra va_arg
	- fix netgroup const problem and remove WARNS flag from Makefile
	- use CFLAGS from libwrap
1999-01-18 18:01:26 +00:00
christos
e1849b79b1 PR/6213: Urban Boquist: /bin/sh does not handle a trapped signal correctly
The problem was that system calls got restarted after a signal,
	 instead of returning EINTR. Thus the read builtin, had no way to
	 know that a signal occured that could change the course of execution.
	 Since the code has sprinkled checks for EINTR all over the place,
	 it is supposed to work properly with non restartable syscalls.
	 The fix is to use siginterrupt(signo, 1), before setting a signal
	 handler, to make sure that system calls don't get restarted.
1999-01-18 16:18:04 +00:00
pk
2fa7bdbccd Fix AF_NS code. 1999-01-18 13:29:01 +00:00
mrg
84e248ad5e remove bogus line in all: target. 1999-01-18 13:21:21 +00:00
tsubai
321f772d99 Invert Y axis (like ums, pms, ...). 1999-01-18 12:36:36 +00:00
lukem
b6e0814d26 add nsswitch.conf 1999-01-18 12:12:58 +00:00
lukem
5adb0df2bb be consistent in formatting source names 1999-01-18 12:12:05 +00:00
lukem
94773c129b highlight nsswitch.conf(5) in the first paragraph 1999-01-18 12:10:06 +00:00
pk
ed55ba4db9 Need <machine/bswap.h> 1999-01-18 11:51:43 +00:00
drochner
67589898ca Be more cautious about writing to the CMOS century byte. Update it only
if it contained a "19" before. There are machines (in particular PS/2
descendants) which have a checksum at this place.
Introduce a patchable kernel variable "rtc_update_century" to modify
the behaviour: 1="always update" (for testing and if one wants to set
the clock back) or -1="never touch".
1999-01-18 10:50:23 +00:00
mrg
d170a5e781 use gas.new and ld.new on sparc64 1999-01-18 10:18:54 +00:00
phil
f9bf8744f0 Correct run address. 1999-01-18 08:29:01 +00:00
itohy
fe5278bffc MACHINE_NEW_NONCONTIG is no longer optional
remove non-MNN code
1999-01-18 07:39:51 +00:00
mrg
2e85a68f15 ignatios' tool to build bootable sparc/sun3 cdroms. 1999-01-18 07:37:23 +00:00
castor
82bc6ffe05 Avoid confusing various C preprocessors by avoiding # [0-9] 1999-01-18 06:49:57 +00:00
msaitoh
3af083d212 fix "CMSA CD" to "CSMA/CD" 1999-01-18 06:31:13 +00:00
lukem
8b9d148c71 before each call to nsdispatch(), set h_errno to NETDB_INTERNAL, and only
change to NETDB_SUCCESS if nsdispatch() returns NS_SUCCESS.  it is up to the
internal methods to change h_errno from NETDB_INTERNAL to a more appropriate
value when an error is detected.
1999-01-18 05:26:08 +00:00