public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e04b39f
)
bug fix
author
ceriel
<none@none>
Mon, 6 Apr 1987 12:33:28 +0000
(12:33 +0000)
committer
ceriel
<none@none>
Mon, 6 Apr 1987 12:33:28 +0000
(12:33 +0000)
lang/cem/libcc/gen/opendir.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/opendir.c
b/lang/cem/libcc/gen/opendir.c
index
6c16e5f
..
5b4c0e7
100644
(file)
--- a/
lang/cem/libcc/gen/opendir.c
+++ b/
lang/cem/libcc/gen/opendir.c
@@
-25,7
+25,7
@@
char *name;
if ((unsigned) stbuf.st_size == stbuf.st_size &&
(dirp->dd_buf = malloc((unsigned) stbuf.st_size))) {
dirp->dd_bsize = stbuf.st_size;
- read(fd, dirp->dd_buf, dirp->dd_bsize);
+
dirp->dd_size =
read(fd, dirp->dd_buf, dirp->dd_bsize);
close(fd);
dirp->dd_fd = -2;
dirp->dd_loc = 0;