|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.43, 2006/03/19 02:12:09 | version 1.44, 2006/03/19 02:25:12 | ||
|---|---|---|---|
|
|
||
| line = toprec; | line = toprec; | ||
| } else { | } else { | ||
| line = fgetln(pfp, &len); | line = fgetln(pfp, &len); | ||
| if (line == NULL && pfp) { | if (line == NULL) { | ||
| if (pfp == NULL) | |||
| return -1; | |||
| if (ferror(pfp)) { | if (ferror(pfp)) { | ||
| (void)cgetclose(); | (void)cgetclose(); | ||
| return (-1); | return (-1); |