Tim J. Robbins
91b14bffac
confstr() returns (size_t)-1 on failure. Check for this explicitly instead
...
of trying to see if an unsigned number is less than zero.
2002-06-04 08:45:38 +00:00
Juli Mallett
6aab7a863f
Add support for non-numeric key lookup via the 'cmds' file, by using the key
...
base as the key number.
2002-06-04 06:14:11 +00:00
Juli Mallett
22ed0c9ade
NODEV is defined the same in _KERNEL and !_KERNEL case, so move it out from
...
the preprocessor conditional, and remove the now-empty #else.
Reviewed by: asmodai
2002-06-04 05:48:38 +00:00
Juli Mallett
51f7a48bf0
Err, duh, free(3) doesn't set its argument to NULL... Fix realloc of a freed
...
chunk.
2002-06-04 04:08:18 +00:00
Garance A Drosehn
5e127035e4
Change some "process id" variables from 'int' to 'pid_t', renaming some
...
of them to keep better track of which-is-which (multiple variables were
named 'pid'). Moved a global pid-variable into the only routine that
used it. Net result: fixes two compile-time warnings...
MFC after: 2 weeks
2002-06-04 03:40:24 +00:00
Garance A Drosehn
0dcfaee0af
Cosmetic improvements to some of the syslog() calls in here (in some cases
...
simply getting the indentation right when the statement wraps).
MFC after: 2 weeks
2002-06-04 02:48:12 +00:00
Garance A Drosehn
609614565f
Fix all the 'return' statements in here to follow style(9).
...
MFC after: 2 weeks
2002-06-04 01:28:15 +00:00
Garance A Drosehn
4a13c4d9ee
Avoid checking WIFEXITED and WTERMSIG in some error situations where the
...
value in wstatus is not related to the process that we care about.
MFC after: 2 weeks
2002-06-04 01:16:13 +00:00
Mike Barcroft
cb263c3594
Use POSIX macros for wait(2)-style status information instead of the
...
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
Jeff Roberson
494273bead
Add a comment describing a resource leak that occurs during a failure case
...
in obj_alloc.
2002-06-03 22:59:19 +00:00
John Baldwin
30c00e6c41
Backout revision 1.2 since it didn't work and replace it with a fix that
...
actually does work. Ignore errors from kldload(2) if the errno value is
EEXIST. It would help if this return value were documented in the
kldload(2) manual page.
2002-06-03 22:36:52 +00:00
Prafulla Deuskar
a7fabc2b60
Added support for 82545EM and 82546EB based adapters.
...
Added Vlan support.
MFC after: 1 week
2002-06-03 22:30:51 +00:00
Ian Dowse
5c97ca54e5
Use a per-device worker thread to avoid blocking in mdstrategy()
...
until the I/O completes. This fixes some easily reproducable deadlocks
that occur when using md(4) with GEOM.
Reviewed by: phk
2002-06-03 22:09:04 +00:00
Brian Somers
7b5e6f62fb
Add a missing ``a''.
2002-06-03 21:36:20 +00:00
Anton Berezin
9e1bfe0f3c
Recognize 0xbe as an uppercase character.
...
Approved by: ache
2002-06-03 21:30:28 +00:00
Garance A Drosehn
0760287064
Stop using the depreciated 'union wait' definitions, moving to a more
...
standard handling of wait()-related routines.
Submitted by: mike
MFC after: 2 weeks
2002-06-03 20:47:01 +00:00
Juli Mallett
ee3cbef6be
Make the manpage consistent with the code on the subject of comments, as to
...
not change the code to always do the "GNU" thing, as it's possible people
rely on BSD m4(1) traditionally resetting comment characters in case of no
arguments to the changecom function.
PR: bin/17480 (I think this satisfies the problem report)
2002-06-03 20:35:35 +00:00
John Baldwin
e364f0da42
Fix handling of the 'noError' variable. According to the code comments,
...
one can set the 'noError' variable to ignore any errors that occur for the
next command. However, the code was only unsetting 'noError' when an error
actually occurred, so if you set 'noError', the next command completed ok,
and the command after that failed, the second command's failure would be
ignored. This fixes this by performing the 'noError' check earlier and
then unsetting 'noError' after every command that is run.
Sponsored by: The Weather Channel
2002-06-03 19:42:49 +00:00
John Baldwin
77218da374
Add a 'mediaClose' script command to close the open media. An example use
...
would be to unmount the CD you installed from and prompt the user to
eject it before rebooting the machine.
Sponsored by: The Weather Channel
2002-06-03 19:39:28 +00:00
Maxim Sobolev
70225aabb7
Correct bswap64() prototype.
...
Submitted by: glewis
MFC after: 1 day
(assuming that there is re's approval)
2002-06-03 19:04:10 +00:00
Ruslan Ermilov
801a888ee3
Do not overwrite mm locale files.
2002-06-03 15:12:42 +00:00
Tim J. Robbins
1b2edc04ee
Correct History: cal(1) appeared in V5, not V6.
2002-06-03 15:02:02 +00:00
Tim J. Robbins
1be157dc3d
Correct history (again): V3 had a kill command, only it was in section 8,
...
not 1.
2002-06-03 14:59:49 +00:00
Tim J. Robbins
e561f2b479
Correct History: nice(1) appeared in V4.
2002-06-03 14:56:57 +00:00
Tim J. Robbins
780c7a8790
Correct History: time(1) appeared at least as early as V3.
2002-06-03 14:54:04 +00:00
Ruslan Ermilov
af2dc86820
Reimplement FILES support using bsd.files.mk with the
...
same set of features as in recently added bsd.incs.mk
(FILESGROUPS, accessibility from both bsd.prog.mk and
bsd.lib.mk, de-pessimized typical installation path,
etc.) New standard targets: buildfiles, installfiles,
and files (buildfiles + installfiles).
2002-06-03 14:49:34 +00:00
Tim J. Robbins
1114f20173
Correct History: sync(8) appeared in V4.
2002-06-03 14:48:33 +00:00
Tim J. Robbins
e3623a80a4
Correct History section: kill(1) appeared in V4, not V6.
2002-06-03 14:45:20 +00:00
Tim J. Robbins
242093bb8c
Sort sections.
2002-06-03 14:42:28 +00:00
Tim J. Robbins
03c249af41
Correct HISTORY section - split(1) appeared at least as early as V3.
2002-06-03 14:41:32 +00:00
Ian Dowse
ab5ff6a601
Call getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
...
are down. Avoid trying to send RPCs to the pidXXX@machine names
used in the special amd(8) mounts.
PR: bin/6183
Submitted by: Petr Lampa <lampa@fee.vutbr.cz>
2002-06-03 12:06:49 +00:00
Andrey A. Chernov
86a7fd100f
Skip %pN comes from ncurses
...
PR: 15418
2002-06-03 10:44:39 +00:00
Yoshihiro Takahashi
e9df1d26a0
Add pc98 subdirectory.
2002-06-03 09:58:44 +00:00
Matthew N. Dodd
b20d4649f9
Quick and dirty convert to newbus. (Eventually 'eni.c' should go away.)
...
Module loads and unloads properly.
Thanks to Richard Hodges <rh@matriplex.com> for donating the hardware
to allow me to work on this driver.
2002-06-03 09:16:52 +00:00
Matthew N. Dodd
26c1165dce
Add new 'hea' driver files.
2002-06-03 09:14:12 +00:00
Matthew N. Dodd
b327025f16
Build a 'hea_pci' driver module.
2002-06-03 09:13:53 +00:00
Matthew N. Dodd
3a6cbf0164
- Add 'hea'.
...
- Compile 'hfa' only on i386 (for now).
2002-06-03 09:13:22 +00:00
Robert Watson
6d362db996
Remove comment about NO_WERROR, since it no longer applies.
...
Pointed out by: silby
2002-06-03 00:21:13 +00:00
Alan Cox
c5aaa06ded
o Migrate vm_map_split() from vm_map.c to vm_object.c, renaming it
...
to vm_object_split(). Its interface should still be changed
to resemble vm_object_shadow().
2002-06-02 23:54:09 +00:00
Dag-Erling Smørgrav
ce7be04eae
Connect perl to the build.
2002-06-02 22:43:17 +00:00
Dag-Erling Smørgrav
f16a5176ad
ANSIfy the one remaining K&R function.
2002-06-02 21:57:28 +00:00
Dag-Erling Smørgrav
e89efc02e0
Whitespace nits.
2002-06-02 21:55:58 +00:00
Dag-Erling Smørgrav
3b1f7e7de0
Add support for 'j' flag. Simplify the size modifier code and reduce code
...
duplication. Also add support for 'n' specifier.
Reviewed by: bde
2002-06-02 21:54:55 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Alan Cox
0d78c0dce2
o Style fixes to vm_map_split(), including the elimination of one variable
...
declaration that shadows another.
Note: This function should really be vm_object_split(), not vm_map_split().
Reviewed by: md5
2002-06-02 19:32:05 +00:00
Marcel Moolenaar
acc6623066
Fix breakage caused by allocating the I/O buffer. There was a
...
sizeof(buf) lurking around that I missed.
PR: 38811
Submitted by: Adrian Colley <aecolley@spamcop.net>
2002-06-02 19:20:37 +00:00
David E. O'Brien
228433f751
Turn on the math function stub stubs.
...
Submitted by: Martin Blapp <mb@imp.ch>
I believe OK with: peter
2002-06-02 17:49:08 +00:00
Bruce A. Mah
f11bd7f0f3
Two markup fixes in sendmail section, add a missing word.
2002-06-02 16:24:23 +00:00
Bruce A. Mah
e5dd7b67c5
Fix error in ls -h relnote.
...
Submitted by: Kurashina Hideyuki <ac14806t@st.nagaoka-ct.ac.jp>,
Ross Lippert <ripper@eskimo.com>
2002-06-02 16:20:36 +00:00
Andrey A. Chernov
c9e2508f62
Add NCURSES_OSPEED replace command to MANFILTER
2002-06-02 16:11:57 +00:00