]> wimlib.net Git - wimlib/commit
Empty file fix
authorEric Biggers <ebiggers3@gmail.com>
Sun, 20 May 2012 15:53:02 +0000 (10:53 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 20 May 2012 15:53:02 +0000 (10:53 -0500)
commit751a849fe04a9230a661e38429ff4d971f74bdbf
treec6825d9264943d83a06868353cd778e3ee56799e
parentf988d892c603e72d1c0a722c2b02b2418ff68c1e
Empty file fix

imagex.exe expects empty files to have a zeroed-out hash (despite the fact this
isn't actually the hash of the empty file) and no lookup table entry.  This
patch makes this the case for the WIMs that wimlib writes.
src/dentry.c
src/lookup_table.c
src/resource.c
src/sha1.c
src/sha1.h