summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-10-12 18:05:41 +0000
committerRoland McGrath <roland@redhat.com>1992-10-12 18:05:41 +0000
commitd9ffca6d79687b35673b524fbf41623e9a4a3148 (patch)
treeb616e44082142ce99ccfa5b5f8f6ec3739dd0501 /dir.c
parentdba6ec5d0c26919fe1bb5892e1fa6feb1f9da337 (diff)
downloadgunmake-d9ffca6d79687b35673b524fbf41623e9a4a3148.tar.gz
Formerly dir.c.~6~
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 0a2efbb..d54d043 100644
--- 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