blob: 51217b8b66698ef51c96851cd624b5e3062ef2a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- zooext.c~ Sat May 1 05:58:50 1993
+++ zooext.c Sat Nov 12 14:04:17 2005
@@ -184,7 +184,8 @@
this_file = STDOUT; /* standard output */
while (1) {
- frd_dir (&direntry, zoo_file);
+ if (frd_dir (&direntry, zoo_file) < 0)
+ prterror('f', bad_directory);
if (direntry.zoo_tag != ZOO_TAG) {
long currpos, zoolength;
prterror ('F', invalid_header);
|