]> arthur.barton.de Git - bup.git/commit
Fix two bugs reported by dcoombs.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 4 Jan 2010 16:48:38 +0000 (11:48 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 4 Jan 2010 16:48:38 +0000 (11:48 -0500)
commit6c87a69fe1c5a50508252141956dc3739aa0c89e
tree3cfbb0eae3ef1cd3b9dcb428642f8ee7943f48fd
parent2adae65e3968f0c1623874dba67995f29e164dbc
Fix two bugs reported by dcoombs.

test-sh was assuming 'bup' was on the PATH.  (It wasn't *supposed* to be
assuming that, but the "alias bup=whatever" line wasn't working,
apparently.)

randomgen.c triggered a warning in some versions of gcc about the return
value of write() being ignored.  It really doesn't bother me if some of my
random bytes don't get written, but whatever; I'll assert instead, which
should shut it up.
randomgen.c
test-sh