]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
cmd/memtest: stop using weird mmap() and /dev/urandom tricks.
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 4 Dec 2010 14:13:16 +0000 (06:13 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 4 Dec 2010 14:14:02 +0000 (06:14 -0800)
commitbe4b6c102bb40ff0e5d3266853ef9d3c333785e7
treeecc27b65f689e9d33d3af4bfb25ea534b14a5bd4
parentb9f76361e97194fd8f658b9407bc8cfc91ccbf7c
cmd/memtest: stop using weird mmap() and /dev/urandom tricks.

I'll just write a C function that can rapidly generate random sha1s.  This
should make it more portable, hopefully fixing a problem reported by Michael
Budde on a Linux/SPARC system.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/memtest-cmd.py
lib/bup/_helpers.c