*/
for (state = FLD2;;) {
switch (state = m_getfld2(state, &f, in)) {
+ case LENERR2:
+ state = FLD2;
+ /* FALL */
+
case FLD2:
/*
** Check if the value of field contains
}
} while ((state = m_getfld2(state, &f, in))
==BODY2);
+ if (state != FILEEOF2) {
+ adios(EX_IOERR, "m_getfld2", "io error");
+ }
}
if (prepend || !qbody) {
}
break;
+ case FMTERR2:
+ advise(NULL, "skeleton is poorly formatted");
+ continue;
default:
- adios(EX_DATAERR, NULL, "skeleton is poorly formatted");
+ adios(EX_IOERR, "m_getfld2", "io error");
}
break;
}