Don't loop back on resume file read failure...

...it's inconvenient for testing.
This commit is contained in:
Eric S. Raymond 2023-03-21 14:24:42 -04:00
parent 0a63b5e2d6
commit bed5fb747b

2
misc.c
View file

@ -997,7 +997,7 @@ L20: printf("\nFile name: ");
if (NAME[strlen(NAME)-1] == '\n')
NAME[strlen(NAME)-1] = '\0';
F=fopen(NAME,(IN ? READ_MODE : WRITE_MODE));
if(F == NULL) {printf("Can't open file, try again.\n"); goto L20;}
if(F == NULL) {printf("Can't open file, try again.\n"); /* goto L20; */}
return;
L30: if(IN)IGNORE(fread(ARR,sizeof(long),250,F));