assert os.lseek (infd, 0, os.SEEK_SET) == 0
outfd = os.open (os.path.dirname (aname), os.O_WRONLY | os.O_TMPFILE,
stat.S_IRUSR | stat.S_IWUSR)
- junk = os.urandom (512) # tar block sized
+ junk = os.urandom (42)
# write new file with garbage prepended
done = 0