support mmap2
uninitialized variable
assert on debian squeeze
fix a bunch of warnings
merge master