Better error handling in zip.c
commit37083d6c909ca3b23911cd5127b5cb5a9aaeebf7
authorEvanR <evanrinehart@gmail.com>
Sat, 20 Feb 2010 19:48:39 +0000 (20 13:48 -0600)
committerEvanR <evanrinehart@gmail.com>
Sat, 20 Feb 2010 19:48:39 +0000 (20 13:48 -0600)
treeeffe221244f6bab418ef2ac02422c050f8c62f48
parent13153440082c13cf7609c8a519dd317e93f7bb5f
Better error handling in zip.c

loader now legitimately fails in initialization and reports why
using zip_geterror.

The reason is that the routine to build the archive directory table
needs to be examined for correctness before testing can begin.

That particular routine has the correct signature now, it differentiates
between errors and 'no more records'.
loader.c
zip.c