diff options
| author | Roland McGrath <roland@redhat.com> | 1993-05-14 22:41:07 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@redhat.com> | 1993-05-14 22:41:07 +0000 |
| commit | 03acd424083a8f83f02ee6999c69ae2e2457a180 (patch) | |
| tree | 32b40ee451d58650c1bb85c8e0cd50bd4120b664 | |
| parent | bc0276c3cb07a145e40ed87d33f5d9e559a76887 (diff) | |
| download | gunmake-03acd424083a8f83f02ee6999c69ae2e2457a180.tar.gz | |
Formerly dir.c.~12~
| -rw-r--r-- | dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -543,7 +543,9 @@ read_dirstream (stream) if (!df->impossible) return df->name; } - ds->elt = ds->contents->files[++ds->bucket]; + if (++ds->bucket == DIRFILE_BUCKETS) + break; + ds->elt = ds->contents->files[ds->bucket]; } return 0; |
