Commit Graph

131548 Commits

Author SHA1 Message Date
cube cf1fc8341b Return an error when a read operation fails, instead of pretending it
succeeded and transmitting a bogus value.
2004-11-10 17:17:14 +00:00
christos d07f9e79e8 - don't complain if the pty is of the form pts/n
- fix off by one error in iovlen bounds checking
- print the function name in the error message and make the
  error messages consistent
- knf
2004-11-10 17:00:41 +00:00
christos c7ead5d42d Don't print just two characters for the tty; change the field width of the
tty to 7.
2004-11-10 16:58:10 +00:00
christos d08f4201ee For ptys of the form /dev/pts/n, print foo@pts/n instead of foo@n. Check
that strrchr() returns non null before using it.
2004-11-10 16:55:55 +00:00
wiz 95fafbc9a3 Recognize "pre" as pre-release version. Bump version to 20041110. 2004-11-10 16:51:16 +00:00
wiz b764f86fae Fix typo in comment; from Sergey Svishchev. 2004-11-10 16:39:04 +00:00
wiz 9ce65744fa Fix typo, and comment out link to non-existing usb(3); from Sergey Svishchev. 2004-11-10 16:38:29 +00:00
wiz 4172541e76 Add dladdr to NAME; fix type of dli_saddr; from Sergey Svishchev. 2004-11-10 16:37:19 +00:00
wiz 0cef3f7ca0 Add bit_ffc to NAME; sort functions in SYNOPSIS; from Sergey Svishchev. 2004-11-10 16:36:28 +00:00
wiz 2926521106 Add missing comma; from Sergey Svishchev. 2004-11-10 16:35:57 +00:00
wiz f5172b1e7c Update list; from Sergey Svishchev. 2004-11-10 16:35:29 +00:00
wiz f9d36bb9e9 Fix typo found by Sergey Svishchev. 2004-11-10 16:32:39 +00:00
wiz 3c6312776a Update some URLs and versions:
bsd-family-tree-1.86
db-4.3.21
dhcp-3.0.1/3.0.2rc2
openssh-3.9p1
routed-2.30
top-3.6alpha8
2004-11-10 15:11:43 +00:00
cube a6f37c0203 In auich_calibrate, set sc_ac97_clock to a default value of 48000 first.
That way, if the calibration fails or times out, sc_ac97_clock won't be 0
and there won't be a division by zero later in ac97_set_rate.
2004-11-10 14:14:09 +00:00
wiz 894084c6c3 Correct ngettext arguments; bump date.
From Christian Biere in PR 28144.
2004-11-10 13:46:14 +00:00
wiz 0ff196cd8a pathconf(2), not (3). 2004-11-10 13:43:39 +00:00
lukem c873ad0d2e Use the common __nsdefaultFOO rather than private defaultFOO duplicates. 2004-11-10 12:57:32 +00:00
wiz 5ef17f09e9 Fix typo reported by Jeff Ito in PR 28158. 2004-11-10 12:21:32 +00:00
lukem 5994f053ec * Improve the comments in <nsswitch.h>
* Provide some more useful default ns_src arrays.
2004-11-10 07:23:32 +00:00
lukem 2ffe6b72ba Use _GETGR_R_SIZE_MAX from <limits.h> rather than defining a private version. 2004-11-10 06:10:03 +00:00
christos 573e338f96 Don't try to chmod ptys if we have none. 2004-11-10 05:04:51 +00:00
lukem cdfecd6b76 whitespace cleanup 2004-11-10 04:57:17 +00:00
lukem 9c82800a69 Add: getgrgid_r(3) getgrnam_r(3) getpwnam_r(3) getpwuid_r(3) 2004-11-10 04:52:30 +00:00
lukem 364ede827b need <limits.h> for _SC_GET{GR,PW}_SIZE_MAX 2004-11-10 04:46:01 +00:00
lukem 8a5e21e9cf Document where the system_var and path_var variable names are determined from. 2004-11-10 04:29:56 +00:00
kent a5158f56a8 remove unused variable 2004-11-10 04:22:31 +00:00
lukem 97dddd4f3a Document _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX 2004-11-10 04:21:25 +00:00
kent 145085fc2f move IS_FIXED_RATE(), SUPPORTS_4CH(), and SUPPORTS_6CH to ac97var.h 2004-11-10 04:20:26 +00:00
lukem 663b3e58e0 Use _GETPW_R_SIZE_MAX from <limits.h> rather than defining a private version. 2004-11-10 04:11:34 +00:00
lukem 246f6fd919 Implement sysconf(3) _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX for
the 1003.1-2001 Thread Safe Functions (TSF) getgrnam_r(3) and getpwnam_r(3).

These are not implemented in sysctl(3) "user.*", since that adds a lot
of complexity in the implementation for no real benefit.
2004-11-10 04:02:52 +00:00
jmc ba1ca39c0a Make sure this picks up nbtool_config.h so non-NetBSD builds work 2004-11-10 03:57:23 +00:00
jmc b1e985536f Make this work on non-native (ala linux/others) hosts. Pass TOOL_MKTEMP in as
well
2004-11-10 03:55:28 +00:00
christos 4216dabbd0 We need libutil now that openpty is used. 2004-11-10 03:21:02 +00:00
jmc 97b060e9aa This needs u16/u32/u64 defined if it's going to include internals (otherwise
it has to load hypervisor.h which has all sorts of other problems assuming
_KERNEL). Provide the defs before including hypervisor-if.h and then turn
them off afterwards (ala the same as hypervisor.h does
2004-11-10 02:52:11 +00:00
christos 4f7e113b33 Add Solaris mbr id 0xbf. From Larry Lee <lclee at west.sun.com> 2004-11-10 02:41:00 +00:00
christos 88ddc79ebd Add 0xBF for Solaris. From Larry Lee <lclee at west.sun.com> 2004-11-10 02:39:48 +00:00
christos 8beb99c76d Add Solaris bootblock mbr magic (0xbf). This will be in the next version
of Solaris according to Larry Lee <lclee at west.sun.com>.
2004-11-10 02:38:24 +00:00
kent 63a8cde231 save&restore %fs and %gs registers for USER_LDT applications.
PR#26900
2004-11-10 01:12:57 +00:00
lukem d7ef73e561 fix an error message 2004-11-10 00:29:07 +00:00
agc 956830029e Add a provisional TODO list, culled from some input from Jim Wise and some
other sources.
2004-11-09 19:36:51 +00:00
kent 7a23477c6c remove mixer setting code in *_attach() because ac97_attach() does it. 2004-11-09 16:28:14 +00:00
kent 68ec3173b5 remove mixer setting code in repulse_attach() because ac97_attach() does it 2004-11-09 16:18:58 +00:00
kent 5bea7e5b64 remove unnecessary ac97-related code 2004-11-09 15:57:11 +00:00
wiz ba12dd34b2 New sentence, new line; standardize AUTHORS section content markup. 2004-11-09 12:09:58 +00:00
kent 57c1715e7b remove mixer setting code in yds_attach() because ac97_attach() does it. 2004-11-09 11:12:54 +00:00
yamt 3bc2a57904 - hide bufq_state in mfsnode from userland.
- move bufq.h into obsolete set.

tested to compile pkgsrc/sysutils/lsof.
2004-11-09 08:46:08 +00:00
rumble bf6f4a9bbe Various minor grammar fixes. 2004-11-09 04:57:31 +00:00
explorer d335893c1b Fix warnings of the type: long int format, int arg 2004-11-08 21:30:05 +00:00
christos 440dc51bb7 Don't declare ptys in tty's. None of the other ports do this. 2004-11-08 19:59:07 +00:00
mbw 57baf75956 Reverting.
Apparently these patches cause problems.
2004-11-08 17:36:07 +00:00