more error strings --HG-- branch : HEAD
diff --git a/lib/zip.h b/lib/zip.h index 7e1cb12..8373057 100644 --- a/lib/zip.h +++ b/lib/zip.h
@@ -29,9 +29,9 @@ #define ZERR_NOENT 9 /* no such file */ #define ZERR_EXISTS 10 /* file already exists */ #define ZERR_OPEN 11 /* can't open file */ -#define ZERR_TMPOPEN 12 -#define ZERR_ZLIB 13 -#define ZERR_MEMORY 14 +#define ZERR_TMPOPEN 12 /* failure to create temporary file */ +#define ZERR_ZLIB 13 /* zlib error */ +#define ZERR_MEMORY 14 /* malloc failure */ #define ZERR_CHANGED 15 /* entry has been changed */ #define ZERR_COMPNOTSUPP 16 /* compression method not supported */
diff --git a/zip_err_str.c b/zip_err_str.c index 837c3fd..fda6ac7 100644 --- a/zip_err_str.c +++ b/zip_err_str.c
@@ -17,5 +17,7 @@ "can't open file", "error creating temp file", "zlib error", - "malloc failure" + "malloc failure", + "entry has been changed", + "compression method not supported" };