Commit Graph

144931 Commits

Author SHA1 Message Date
christos
ee43724903 Coverity CID 580: fix 'c' handling to match 'x' ('c' used the wrong variable) 2006-03-22 00:11:28 +00:00
christos
c8780d3168 Coverity CID 1440: off by one in array count. 2006-03-22 00:08:09 +00:00
christos
f70970fc40 Coverity CID 1640: closedir on error. 2006-03-22 00:05:01 +00:00
christos
bd4761ac59 Coverity CID 2279: Plug memory leak. 2006-03-22 00:03:51 +00:00
christos
c882076269 Coverity CID 2280: Plug memory leak. 2006-03-22 00:03:00 +00:00
christos
999efc5191 Coverity CID 2291: Move function call before allocating storage to prevent
memory leak on error.
2006-03-22 00:02:00 +00:00
christos
3a135d2872 Coverity CID 2292: Plug memory leak. 2006-03-22 00:00:16 +00:00
christos
a742aacd73 Coverity CID 2293: Fix memory leak. 2006-03-21 23:58:24 +00:00
christos
40c58e8b04 Coverity CID 2363: cur is known not to be NULL. 2006-03-21 23:56:47 +00:00
christos
432fdd32e0 Coverity CID 2364: cur is known not to be NULL. 2006-03-21 23:55:56 +00:00
christos
f12fd11960 Coverity CID 2430: cur is known not to be NULL. 2006-03-21 23:55:02 +00:00
christos
80f67fa272 Coverity CID 879: Don't increment bits before checking it for NULL. 2006-03-21 23:50:09 +00:00
christos
17c2501482 Coverity CID 881: Always print an error if allocation failed.
If the program is not specified use getprogname()
2006-03-21 23:47:51 +00:00
christos
3351d69442 Add coverity model annotations 2006-03-21 23:40:49 +00:00
bjh21
f3cb4934df Now that NetBSD's got a real logo, use it for !BtNetBSD's icons.
These are basically a straight conversion of the logo -- a better job
could almost undoubtedly be done by someone with artistic talent.
2006-03-21 23:33:35 +00:00
yamt
73998aa4b5 fw_bus_probe_thread: change wmesg from "-" to "fwprobe". 2006-03-21 23:29:04 +00:00
bjh21
cd2a0c7440 Add a NetBSD RCS ID and a comment explaining what this is and where it
came from.
2006-03-21 23:25:46 +00:00
agc
86caa230d8 Actually do something with the SYNC_CACHE command - use fsync_range(2) if
it's available, falling back to fsync(2) if it's not. Add the necessary
glue to the autoconf scripts.
2006-03-21 22:56:55 +00:00
pavel
d8e5c31820 Clarify and correct the description of the -R (Record Route) flag.
Reviewed by jnemeth, whith help from him.
2006-03-21 22:54:46 +00:00
gdamore
2716ac0eba Remove a file that should never have been committed. (Stub implementation
that I abandoned.)
2006-03-21 22:50:21 +00:00
he
dcaa7a3be5 It's .endif, not .fi. 2006-03-21 22:50:13 +00:00
christos
db1dbe6ce9 Coverity CID 1225: Don't close negative fd. While here fix fd leak. 2006-03-21 22:49:43 +00:00
christos
4a6e5a625c Coverity CID 1750: Add a function to free a queue and use it. 2006-03-21 22:47:26 +00:00
gdamore
3cb57abe3a Add a bunch of evbmips device names. 2006-03-21 22:47:09 +00:00
christos
1f548f352a Coverity CID 1752: getq() always allocates a queue if nitems >= 0, so always
free it.
2006-03-21 22:37:34 +00:00
he
ce265dd19b Commit forgotten definition of the ciss driver. 2006-03-21 22:33:07 +00:00
bjh21
2cc5929cc1 We don't ship the Settypes file any more, so remove the reference to it. 2006-03-21 22:16:43 +00:00
phil
4617d0a2bf Kill NULL deref (CID: 871)
Plug fd leak (not caught by coverity).
2006-03-21 21:59:56 +00:00
christos
aa1540d7a7 Coverity CID 2742: Avoid NULL deref. 2006-03-21 21:50:44 +00:00
gdamore
e0103fb04c Use const char * in yamon_print(). 2006-03-21 21:49:47 +00:00
christos
b771b70f76 Coverity CID 1601: Fix memory leak. 2006-03-21 21:43:03 +00:00
christos
22eda87ac9 Coverity CID 1603: Fix memory leak. 2006-03-21 21:41:00 +00:00
christos
0c9dfbbbdf Coverity CID 1688: Fix memory leak. 2006-03-21 21:37:34 +00:00
christos
1f5c810a97 Coverity CID 782: Don't dereference NULL was not going to happen, but:
1. return error instead of the trashed errno.
2. don't return -1, but return ENAMETOOLONG.
3. eliminate unused code.
2006-03-21 21:34:01 +00:00
christos
7067dcb9a4 Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
agc
cbf5d4f8f5 Abstract out some common code, and place it in the utilities source.
Get rid of some #ifdef __KERNEL__ abstractions - they're not needed.
2006-03-21 21:03:14 +00:00
christos
b2f6added5 Coverity CID 577: remove dead code; minburst can never be 0 at this point. 2006-03-21 20:49:54 +00:00
christos
e46022bb52 Coverity CID 1514: Don't access static array beyond the end of it.
In this case PFTM_MAX == 20 and sizeof(pf_timeouts) / sizeof(pf_timeouts[0])
== 21, using a loop with the size of the array and checking for reaching the
end of the loop via j == PFTM_MAX does not work. Change the loop to use
PFTM_MAX as the upper bound and add an assertion in the code to make sure
that pf_timeouts is large enough. Finally remove last NULL element of the
array so that the array has 20 elements again.
2006-03-21 20:47:27 +00:00
he
77c27ad055 Add a driver, ciss(4), for the HP/Compaq drivers using the newer
"Command Interface to SCSI-3 Support" command interface.  Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!
2006-03-21 20:42:14 +00:00
christos
1a21d9be9f Coverity CID 2057: Don't forget to free tcpopts when you are done. 2006-03-21 20:31:56 +00:00
christos
eca1f0e01b Coverity CID 2491: Fix uninitialized reference. 2006-03-21 20:27:59 +00:00
christos
df3594a46a Coverity CID 2735: Remove dead code. 2006-03-21 20:25:55 +00:00
he
39e2cda308 Regenerated files after adding IDs for HP/Compaq Smart Array controllers. 2006-03-21 20:20:59 +00:00
he
88fd4ab2a0 Add a bunch of IDs for Compaq/HP Smart Array controllers supported
by the soon to be added ciss(4) driver.
2006-03-21 20:19:21 +00:00
gdamore
10d412b26d Bump date. Ooops. 2006-03-21 19:49:00 +00:00
gdamore
426dac3334 Added more system models.
More information on system devices.
2006-03-21 19:48:24 +00:00
wiz
22817a0282 regen. 2006-03-21 19:07:04 +00:00
wiz
4b610bb2ce Fix typo, reported by seebs in PR 33106. 2006-03-21 19:06:08 +00:00
gdamore
6c8d505b69 Mention new AR5312 port. 2006-03-21 19:01:33 +00:00
drochner
4ece2172cf Build the sun versions of frexp(), ldexp() and modf().
While the versions in libc/gen are prettier to look at, having single
precision versions in libm and double precision versions in libc causes
a lot of confusion, and to favor libm gets us coprocessor support.
2006-03-21 18:46:05 +00:00