Commit Graph

144784 Commits

Author SHA1 Message Date
dsl
0ab764f9ff Don't add every source directory to the -I path.
Instead use CPPFLAGS.file to add the relevant directory for each file.
Removes about 4000000 failed open() system calls from the libcrypto build,
and reduces the compile time (on my system) from 154 seconds to 115 seconds.
The arch/*/*.inc files need similar treatment.
2006-03-17 20:47:45 +00:00
elad
cbe6a15c01 Another overrun forgotten in previous commit, also found by Coverity.
CID 1481.
2006-03-17 20:44:28 +00:00
elad
ab24a02ffe Fix buffer overrun found by Coverity, CID 1482. 2006-03-17 20:41:02 +00:00
xtraeme
4a4be4e854 Match the VIA VT8237 chipset, too. ok'ed by jmcneill 2006-03-17 19:52:35 +00:00
perseant
16cb5d93b2 Make it compile again. 2006-03-17 19:24:08 +00:00
dsl
87f04837fb Fix build breakage, split assignment and test for ease of reading. 2006-03-17 19:18:33 +00:00
wiz
e59b4b68e0 Sort a bit. 2006-03-17 18:44:07 +00:00
macallan
e60d56080c mention xorg 7.0 import 2006-03-17 17:47:57 +00:00
hubertf
dc01675c5a Put check if "best" is empty back into the right place, messed up
in previous commit.
Noted by yamt@
2006-03-17 17:46:44 +00:00
christos
df8cbb182e Coverity CID 2479: Clarify confusion about uninitialized variable in the
presence of setjmp/vfork.
2006-03-17 17:20:47 +00:00
christos
14ebd4f381 Appease Coverity CID 2527; not a bug. 2006-03-17 17:17:00 +00:00
christos
fca770b32a Appease Coverity CID 2580 [not a bug] 2006-03-17 17:06:30 +00:00
christos
227e68b656 free memory on allocation failure. 2006-03-17 17:04:22 +00:00
christos
2044d4f590 Coverity CID 2671: Fix use of ifp after free. 2006-03-17 16:58:09 +00:00
tnozaki
e01718f7f1 do not use LS0/LS1 but SI/SO. 2006-03-17 16:37:10 +00:00
tnozaki
2a441a26bc fix invalid charset-bit. 2006-03-17 16:25:06 +00:00
hubertf
2b40d43066 Fix minor ressource leak
Coverity CID 1855
OK'd by thorpej
2006-03-17 16:14:48 +00:00
uebayasi
8572d2c144 Stop using linker scripts on all sh3 ports.
The only information to be compensated is text section start address.
The default value is set arch-wise as DEFTEXTADDR.  Each kernel config
can override the default value by setting TEXTADDR.

Tested on COMPUTEXEVB (evbsh3).

Reviewed By:	uwe
2006-03-17 16:06:51 +00:00
rumble
e948e1b17f Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.
2006-03-17 15:53:46 +00:00
ginsbach
f44127c4ef Fix Coverity issue 2281, resource leak, function return without freeing
dynamically allocated storage.
2006-03-17 15:53:29 +00:00
peter
11f7fb17d4 Fix file descriptor leaks.
Coverity CID 1681.
2006-03-17 15:50:44 +00:00
christos
75f03570ec Coverity CID 2719: argvalue can be NULL when passed into functions.
De-obfuscate by undefining optarg, and check explicitly for NULL before
use.
2006-03-17 15:39:44 +00:00
rumble
e973f66640 Gracefully handle out of memory condition. 2006-03-17 14:50:44 +00:00
rumble
2174dda221 Handle asprintf failing to allocate. 2006-03-17 14:43:11 +00:00
elad
fb41d90922 Proper bounds access, found by Coverity, CID 1470. 2006-03-17 14:40:11 +00:00
rumble
88f1652fe8 Handle asprintf returning NULL. 2006-03-17 14:37:14 +00:00
dmcmahill
de309be996 put the array bounds check _before_ accessing the array.
Coverity  CID: 1479
2006-03-17 14:20:10 +00:00
dmcmahill
ee00225705 put the array bounds check _before_ accessing the array.
Coverity  CID: 1480
2006-03-17 14:14:45 +00:00
elad
6ec9e1c359 Proper bounds check, found by Coverity, CID 1468. 2006-03-17 13:58:27 +00:00
rumble
3ad5f13d80 Handle malloc returning NULL. 2006-03-17 13:53:31 +00:00
gdt
81331897bb Add wi* at pci, to make PRISM mini PCI cards work. Tested on IBM
Thinkpad T30 2366-97U.
2006-03-17 12:43:35 +00:00
jmcneill
e651416a9e Add 'iic* at viapcib?', commented out. 2006-03-17 12:25:01 +00:00
jmcneill
e4e8429c20 Add (commented out) definitions of viapcib attachments. 2006-03-17 12:22:14 +00:00
jmcneill
73e1e8a116 Add support for the VIA SMBus controller found on the VT8235 PCI-ISA
bridge.
2006-03-17 12:19:49 +00:00
martin
8d15124682 This test is highly dependend on local configuration - note some
pitfalls.
2006-03-17 11:33:24 +00:00
skrll
75eb73218c KNF 2006-03-17 11:03:07 +00:00
yamt
848da92913 make duplicated code fragments into a function, pool_grow. 2006-03-17 10:09:25 +00:00
yamt
4038c2995b uvm_km_check_empty: fix an assertion. 2006-03-17 09:37:55 +00:00
kochi
c736436079 acpica 20060310 2006-03-17 09:14:16 +00:00
erh
8e641f354a Found by coverity issue 887. Check for NULL before using base_ph so
an interpreter that does not have PT_LOAD in the program header doesn't
crash the system.
2006-03-17 08:51:35 +00:00
kleink
63c0159af3 Move struct clockinfo (KERN_CLOCKRATE sysctl) from <sys/time.h> to
<sys/sysctl.h>.
2006-03-17 08:50:36 +00:00
erh
e1806cf352 Fix Coverity issue 1579. Check retval from getmntopts(). Use freemntopts(). 2006-03-17 06:51:00 +00:00
erh
0ca5044c4a Fix Coverity issue 1471. Shouldn't actually be problem, but the array
bounds checks to figure out which signal to issue were off by one.
2006-03-17 06:31:58 +00:00
erh
a329a6a0ae Fix Coverity issue 1754. Call fts_close() after we're done copying. 2006-03-17 06:22:30 +00:00
garbled
e50f041957 ANSIfy more code in prep. 2006-03-17 06:11:58 +00:00
jld
2e34cd0e5e Add some missing memory barriers I noticed.
Discussed on port-xen.
2006-03-17 06:04:24 +00:00
erh
8ad33681f8 Fix Coverity issues 2321 and 2320. Make sure to free allocated memory. 2006-03-17 06:01:14 +00:00
garbled
6434af65ce ANSIfy all these files.. just formatting changes.
Remove kbdreg.h.. this was part of pccons, and was apparently missed long
ago.
2006-03-17 05:33:33 +00:00
erh
840c5222df Fix -uu handling so recursive updates of already installed packages work,
even if the initial package to install isn't installed yet.
Bump the version to 20060313.
2006-03-17 05:32:11 +00:00
rumble
0fe2cb9e42 Ensure that malloc does not return NULL before copying the buffer. 2006-03-17 04:53:55 +00:00