Don't dump core when processing more than one file.
Bugfix has been forwarded to Ozan, and should be in his next release.
This commit is contained in:
parent
454f76bbdd
commit
4678be880f
@ -863,6 +863,7 @@ int main(argc, argv)
|
||||
} else /* file names in commandline */
|
||||
for (; optind < argc; optind++) {
|
||||
char *name = argv[optind]; /* next file name */
|
||||
ilevel = 0;
|
||||
infile[0] = fopen(name, "r");
|
||||
if (!infile[0]) cantread(name);
|
||||
#ifndef NO__FILE
|
||||
|
Loading…
Reference in New Issue
Block a user