projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug #57722.
[pspp]
/
tests
/
libpspp
/
zip-test.c
diff --git
a/tests/libpspp/zip-test.c
b/tests/libpspp/zip-test.c
index eded13e8bf67dccefeab4a547776716c96807c13..e132cb93da5299983a35438bf4d7da00b4d39949 100644
(file)
--- a/
tests/libpspp/zip-test.c
+++ b/
tests/libpspp/zip-test.c
@@
-30,7
+30,6
@@
#include <libpspp/str.h>
#include <errno.h>
#include <libpspp/str.h>
#include <errno.h>
-#include "xalloc.h"
\f
/* Exit with a failure code.
(Place a breakpoint on this function while debugging.) */
\f
/* Exit with a failure code.
(Place a breakpoint on this function while debugging.) */
@@
-96,6
+95,7
@@
main (int argc, char **argv)
{
fwrite (buf, x, 1, fp);
}
{
fwrite (buf, x, 1, fp);
}
+ zip_member_finish (zm);
fclose (fp);
if ( x < 0)
{
fclose (fp);
if ( x < 0)
{
@@
-105,7
+105,7
@@
main (int argc, char **argv)
}
zip_reader_destroy (zr);
}
}
zip_reader_destroy (zr);
}
- else
+ else
exit (1);
return 0;
exit (1);
return 0;