projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba6ec5
)
Formerly dir.c.~6~
author
Roland McGrath
<roland@redhat.com>
Mon, 12 Oct 1992 18:05:41 +0000
(18:05 +0000)
committer
Roland McGrath
<roland@redhat.com>
Mon, 12 Oct 1992 18:05:41 +0000
(18:05 +0000)
dir.c
patch
|
blob
|
history
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