| # | Line 1030 | Line 1030 | recover_output(FILE *fin) | |
|---|---|---|
| 1030 | error(USER, "cannot recover from command"); | |
| 1031 | /* open output */ | |
| 1032 | fp = fopen(oname, "rb+"); | |
| 1033 | < | if (fp == NULL) |
| 1034 | < | break; /* must be end of modifier */ |
| 1033 | > | if (fp == NULL) { |
| 1034 | > | if (j) |
| 1035 | > | break; /* assume end of modifier */ |
| 1036 | > | sprintf(errmsg, "missing recover file '%s'", |
| 1037 | > | oname); |
| 1038 | > | error(USER, errmsg); |
| 1039 | > | } |
| 1040 | nvals = lseek(fileno(fp), 0, SEEK_END); | |
| 1041 | if (nvals <= 0) { | |
| 1042 | lastout = 0; /* empty output, quit here */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |