Commit Graph

152446 Commits

Author SHA1 Message Date
christos
5819a8c09d Import the gpt tool from FreeBSD 2006-10-15 22:34:15 +00:00
bouyer
593919aafc Don't rely on the /dev entry in the xenstore to get the handle; extract
it from the xenstore path. /dev will have whatever is in the guest's config
file disk entry, and this may not be a number (in the case of HVM guests
it's a string starting with 'ioemu').
2006-10-15 21:34:48 +00:00
christos
5bc3ea6c79 support printing kern.drivers 2006-10-15 21:33:34 +00:00
macallan
84da46d4d5 ansify 2006-10-15 21:23:19 +00:00
dsl
c183c301dc Add some more explanitory comments.
Rename 'allsrc' to 'curSrcs' so that the variable passed to ParseDoSrc (etc)
has the same name as the local in the calling routine, rather than a name
that seems to imply a more global and persistent list.
2006-10-15 21:17:27 +00:00
macallan
e57fef0a3e report button clicks when tapping a trackpad
Tested on a PB3400c and an iBook G4
2006-10-15 21:15:21 +00:00
martin
a4f14b9dd0 Missing initializers 2006-10-15 21:12:08 +00:00
martin
4367e285ad Make -Wextra save 2006-10-15 21:07:45 +00:00
martin
7815b7efa3 Missing initializers 2006-10-15 21:01:03 +00:00
martin
c8f99f6db4 Missing initializer 2006-10-15 20:59:53 +00:00
martin
1f9d7be4f6 Initializers 2006-10-15 20:57:13 +00:00
martin
9128c4105e Missing initializer 2006-10-15 20:54:49 +00:00
martin
c8982ceb2a Missing initializers 2006-10-15 20:50:29 +00:00
dbj
e55a64b8e5 add revoke.debug 2006-10-15 20:44:21 +00:00
martin
e279a26eb5 Missing initializers 2006-10-15 19:59:50 +00:00
martin
9384ee0db9 Missing initializer 2006-10-15 19:53:27 +00:00
christos
7631e65b9f fix an incomplete initializer. 2006-10-15 19:52:40 +00:00
martin
6bac574e23 Missing initializers 2006-10-15 19:50:53 +00:00
martin
c335701fe5 Add missing initializer 2006-10-15 19:43:45 +00:00
martin
4183890e73 Initialize struct consdev in C99 style 2006-10-15 19:38:45 +00:00
christos
40c48e4f33 prevent empty else. 2006-10-15 19:34:51 +00:00
christos
ebed6f0b8c add volatile to prevent gcc clobbering. 2006-10-15 19:33:52 +00:00
christos
2979ced6e8 - Instead of wondering if to syslog an error, do so, but in the called
function.
- use snprintf instead of sprintf.
2006-10-15 19:33:03 +00:00
martin
ac4b729ce4 Add some initializers 2006-10-15 19:32:37 +00:00
martin
61baadbc7f Add missing initializer 2006-10-15 19:29:10 +00:00
christos
cdb23ba9fb add a volatile variable to prevent vfork/longjmp clobbering. 2006-10-15 19:27:21 +00:00
martin
3176f67f9e Sprinkle some __unused 2006-10-15 19:22:59 +00:00
martin
cb5d206224 __unused policy 2006-10-15 19:22:17 +00:00
christos
227b8ed7f9 delete junk I accidentally committed. 2006-10-15 19:11:58 +00:00
christos
dc579d1dcf de-lint. 2006-10-15 19:08:48 +00:00
christos
56ec5c798d die on lint errors. 2006-10-15 19:07:38 +00:00
martin
637106d04b Make it compile with -Wextra on big endian machines (at lest the #if in the
definition of struct rb_ndoe on the endianess is the only explanation I have
why nobody complained about this on i386 - I don't understand why it makes a
difference for gcc though)
2006-10-15 19:04:28 +00:00
apb
76eb981a6d Mention some things I did recently: "find ... -exec ... +", ps -o changes,
and building with shell != /bin/sh.
2006-10-15 18:51:20 +00:00
christos
6cbdf318bf - make a variable volatile, that gcc warns vfork will clobber.
- don't blindly walk before the beginning of the buffer because of a
  corrupt dependency file. In this case the first character of the
  dependency file was a :
2006-10-15 18:50:47 +00:00
christos
2bd08fcc54 in the same way that we need an extra level for arrays, do the same for struct. 2006-10-15 18:18:54 +00:00
christos
4ac7ff4bf5 Another test. 2006-10-15 18:17:09 +00:00
dsl
fb889ecbbd Change a 'while' loop to a 'for' loop so we can add 'free(line)' into the
loop continue part.  Remove the 'free(line)' from teh end of the loop body,
change the gotos into continues and collapse out some 'else if's.
All in the name of code transparency.  No functional changes.
2006-10-15 18:08:14 +00:00
rpaulo
1c1f230e81 Move comments to proper places. 2006-10-15 17:53:30 +00:00
rpaulo
ebc62e8a33 Update structure. 2006-10-15 17:48:07 +00:00
rpaulo
a70594d346 Add a new tcp_congctl(9) structure member for congestion experienced callback.
Needed by HSTCP.
2006-10-15 17:45:06 +00:00
christos
ce2c90c7c1 fix incomplete initializers 2006-10-15 16:14:46 +00:00
christos
a8756e84f2 prevent empty else. 2006-10-15 16:14:08 +00:00
christos
6b9a17545b comment out dead code. 2006-10-15 16:13:12 +00:00
christos
3b77d4bc25 instead of using the (void)&foo kludge to avoid longjmp clobbering of variables
make the variables volatile as needed.
2006-10-15 16:12:02 +00:00
christos
b24124a73d static before const. 2006-10-15 16:11:04 +00:00
christos
1d0c670b9c add a NULL callback initializer 2006-10-15 16:10:38 +00:00
perry
35a6eb4807 Make the declarations of wday_name and mon_name less eccentric. I
suppose they were legal before, but lint was unhappy about them. It
was probably unhappy for the wrong reasons, but I think it certainly
wasn't something one would want anyway. Declaring a string of length
three to have storage of length three without room for the nul is
asking for trouble even if it does work in context, and there was no
reason not to state how many days there are in a week or months in a
year -- they aren't onerous and aren't going to change.

NOTE: If this code isn't being synced with the central TZCODE stuff,
it probably should be KNFed etc. It is full of K&R declarations,
register, lots of eccentricities, etc.
2006-10-15 15:32:42 +00:00
christos
7bce0c7216 Don't allow ptrace to copyout arbitrary sized data. Reported by the
Suresec vulnerability research team.
2006-10-15 15:20:09 +00:00
christos
23d1e65c52 array init test 2006-10-15 15:09:38 +00:00
christos
3e006796cf previous fix broke array initializers. 2006-10-15 15:08:20 +00:00