Formerly dir.c.~6~
authorRoland McGrath <roland@redhat.com>
Mon, 12 Oct 1992 18:05:41 +0000 (18:05 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 12 Oct 1992 18:05:41 +0000 (18:05 +0000)
dir.c

diff --git a/dir.c b/dir.c
index 0a2efbb..d54d043 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -357,6 +357,7 @@ file_impossible (filename)
        xmalloc (sizeof (struct directory_contents));
       dir->contents->dev = dir->contents->ino = 0;
       dir->contents->files = 0;
+      dir->contents->dirstream = 0;
     }
 
   if (dir->contents->files == 0)
@@ -545,6 +546,8 @@ read_dirstream (stream)
        }
       ds->elt = ds->contents->files[++ds->bucket];
     }
+
+  return 0;
 }
 
 void