File zoo-fclose.patch of Package zoo
Index: bilf.c
===================================================================
--- bilf.c.orig 1991-07-11 21:06:26.000000000 +0200
+++ bilf.c 2009-11-24 19:46:10.176536000 +0100
@@ -99,7 +99,7 @@ char *outname, *inname;
while ((count = fread (buffer, 1, sizeof (buffer), infile)) > 0)
count = fwrite (buffer, 1, count, outfile);
- close (infile); close (outfile);
+ fclose (infile); fclose (outfile);
if (count == -1)
return (-1);
else