1
0
mirror of https://github.com/mirror/make.git synced 2025-04-24 12:00:35 +08:00

Formerly dir.c.~6~

This commit is contained in:
Roland McGrath 1992-10-12 18:05:41 +00:00
parent dba6ec5d0c
commit d9ffca6d79

3
dir.c
View File

@ -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