mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
parent
51b946bf25
commit
7594af553a
@ -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