projects
/
ecpprog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set file_size in read mode
[ecpprog.git]
/
ecpprog
/
ecpprog.c
diff --git
a/ecpprog/ecpprog.c
b/ecpprog/ecpprog.c
index eba15e4044b20c6f8d013a8a84b372b2b876db40..8a5724e862a6a2662f6c36712f0bddf413eed2ea 100644
(file)
--- a/
ecpprog/ecpprog.c
+++ b/
ecpprog/ecpprog.c
@@
-908,6
+908,7
@@
int main(int argc, char **argv)
perror(0);
return EXIT_FAILURE;
}
+ file_size = read_size;
} else {
f = (strcmp(filename, "-") == 0) ? stdin : fopen(filename, "rb");
if (f == NULL) {