mirror of
https://github.com/open-simh/simtools.git
synced 2026-04-27 12:28:44 +00:00
Suppress spurious error message in RSX format version.
This commit is contained in:
@@ -88,7 +88,9 @@ char *readrec(
|
|||||||
|
|
||||||
c = fgetc(fp);
|
c = fgetc(fp);
|
||||||
if (c == EOF) {
|
if (c == EOF) {
|
||||||
|
#if RT11
|
||||||
fprintf(stderr, "Improperly formatted OBJ file (3)\n");
|
fprintf(stderr, "Improperly formatted OBJ file (3)\n");
|
||||||
|
#endif /* RT11 */
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
*len = c;
|
*len = c;
|
||||||
@@ -145,7 +147,7 @@ char *readrec(
|
|||||||
c = fgetc(fp);
|
c = fgetc(fp);
|
||||||
if (c == EOF) {
|
if (c == EOF) {
|
||||||
free(buf);
|
free(buf);
|
||||||
fprintf(stderr, "EOF where padding byte should be");
|
fprintf(stderr, "EOF where padding byte should be\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user