Commit Graph

8794 Commits

Author SHA1 Message Date
christos
00dd70ade5 WARNS=4, ansi pass lint. 2006-05-15 14:30:38 +00:00
christos
c3ec4b956d Add the DRV lkm type. From David Boggs. 2006-05-15 12:51:19 +00:00
gson
9aca5a13df Recording to standard output is specified by a file name of -,
not by omitting the file name.
2006-05-15 02:21:37 +00:00
christos
9a02ff9b42 gcc-4.0 needs attribute used. Variables with attribute unused get removed. 2006-05-14 23:47:34 +00:00
mlelstv
bad43188a8 restore elevated priority before launching command in
user context. Fixes PR 33479.
2006-05-14 21:18:31 +00:00
wiz
cc9f77ff20 Clarify location of `}'. Requested by joerg. Bump date. 2006-05-14 14:34:49 +00:00
christos
77d2f1cd19 XXX: GCC uninitialized 2006-05-14 03:05:47 +00:00
christos
a58e08b7cf XXX: GCC uninitialized. 2006-05-14 03:00:45 +00:00
christos
abcf3383b8 Gcc 4 needs to have the enum declaration in scope to determine the enum size. 2006-05-14 02:56:27 +00:00
christos
7a029a3c6a XXX: GCC uninitialized variables 2006-05-14 02:51:03 +00:00
liamjfoy
5bafb9022a reference uptime(1) correctly
ok joerg@
2006-05-13 12:41:54 +00:00
he
eb8d767d84 Sorry, fix syntax error in previous. 2006-05-12 07:20:13 +00:00
he
afd5b9b6d3 Appease gcc 3.3.3 -Wuninitialized warning; fixes build problem for
a multitude of archtectures (prep, alpha, i386, acorn32 and probably
more).
To be documented in doc/HACKS.
2006-05-12 07:19:43 +00:00
lukem
143c145a8f Only use -Wno-pointer-sign for gcc4. 2006-05-12 03:52:05 +00:00
mrg
abeaa4f60d apply -Wno-pointer-sign with GCC4. 2006-05-12 03:29:11 +00:00
mrg
5063b7a180 apply -Wno-pointer-sign with GCC4. 2006-05-12 02:01:15 +00:00
mrg
20265245bf use -Wno-pointer-sign with GCC4. 2006-05-12 01:26:05 +00:00
mrg
16efbf8575 don't do the -Wno-pointer-sign dance for host programs. 2006-05-12 01:18:25 +00:00
mrg
aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
mrg
f066626ffb char -> u_char in a couple of places to match other variables. 2006-05-11 19:16:42 +00:00
sjg
fc23c7c758 Remove the modterm case from moderrs, the syntax errors
generated by /bin/sh on other systems are not consistent.
2006-05-11 18:48:33 +00:00
mrg
117693dfce when calling compile_tr() add (void *) to the 2nd argument's cast chain. 2006-05-11 17:18:19 +00:00
mrg
6f4493cd5c xdr sucks. sprinkle some (void *) casts into it's functions taking void **,
and shut up GCC4.
2006-05-11 17:11:57 +00:00
sjg
03cbcf6532 Extract the variable modifier logic to a separate function.
This cuts Var_Parse in half! and allows the modifier logic to
be used recursively - when getting modifiers via variables.

Add new unit-test, to check that certain error cases are handled
correctly.
2006-05-11 15:37:07 +00:00
liamjfoy
1ee9d337ea clear errno before using strtol
ok christos & joerg
2006-05-11 12:02:08 +00:00
yamt
ee458ef97e include errno.h directly rather than via user.h. 2006-05-11 12:01:33 +00:00
yamt
49cee5da7c #include a necessary header directly, rather than via user.h.
while i'm here, remove unnecessary #include.
2006-05-11 11:58:04 +00:00
yamt
2416177358 tweak for user.h cleanup.
while i'm here, remove unnecessary #include.
2006-05-11 11:56:38 +00:00
mrg
c92f14aaa2 include "rcv.h" so that extern array types are well-known. 2006-05-11 10:45:48 +00:00
mrg
982b2b7938 char -> u_char for a buffer passed to MD5*(). 2006-05-11 06:09:44 +00:00
mrg
f145204eb2 XXX build with -Wno-pointer-sign and -fno-strict-aliasing when using GCC4. 2006-05-11 06:01:31 +00:00
mrg
35b9b80e28 build sshconnect1.c with -fno-strict-aliasing. 2006-05-11 01:26:03 +00:00
mrg
130d5d4569 call ctime() with an actual time_t *. 2006-05-11 01:25:23 +00:00
mrg
9588ebc6e5 u_long -> u_int in many places. i guess radioctl(1) was broken on sparc64. 2006-05-11 01:24:14 +00:00
mrg
0e223467a4 nfiles -> ns_nfiles (conflicts with kernel header files and _KERNEL.) 2006-05-11 01:23:20 +00:00
mrg
4a55b2ff97 exp() -> m4_exp(). 2006-05-11 01:22:20 +00:00
mrg
9ce2c843f8 maxfiles -> fstat_maxfiles. (this _KERNEL definition code needs to not
clash with kernel headers....)
2006-05-11 01:21:23 +00:00
mrg
70daf20d05 no need to cast setlocale()'s return value. 2006-05-11 01:20:33 +00:00
mrg
15aa4e8c07 use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
mrg
bc3f0566af variable signed/unsigned cleanup. 2006-05-11 01:19:10 +00:00
mrg
a8177e2129 use socklen_t where appropriate. 2006-05-11 00:27:27 +00:00
mrg
4bc6feceb6 end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
lukem
366e1460da Add -n to the usage message.
Noted by Maxim Konovalov <maxim@macomnet.ru>.
2006-05-10 23:35:03 +00:00
mrg
084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
mrg
2ed99b6c90 need <stdlib.h> for exit(3). 2006-05-10 21:34:20 +00:00
skrll
a9f4c28a3d Fix a bunch of cast lvalues. 2006-05-10 06:24:02 +00:00
mrg
0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
gson
dcf9144a8a Do not treat all file names of length 1 as meaning standard output. 2006-05-09 15:55:44 +00:00
he
b28792d8d4 Our gcc 3.3.3 (nb3) for hppa gets an "unrecognized insn" internal
compiler error when building buf.c with -O2, so reduce optimization
level to -O1 for this single file.
To be documented in docs/HACKS, discussed with skrll.
2006-05-08 11:07:57 +00:00
hubertf
97c6c066c2 Be more liberal about whitespaces when verifying checksums.
This allows checking md5/sha1 shecksums generates on Linux, which
add more whitespace.

Based on patch by Jukka Salmi (j+nbsd at 2006 dot salmi dot ch)
2006-05-07 12:22:55 +00:00