mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
commit
128f261c3a
@ -30,9 +30,7 @@ char *argv[];
|
||||
#endif
|
||||
{
|
||||
/* Fake stdin with the reference file */
|
||||
fclose(stdin);
|
||||
stdin = fopen(INFILE, "r");
|
||||
if (stdin == NULL) {
|
||||
if (freopen(INFILE, "rb", stdin) == NULL) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user