|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.9, 1995/02/25 13:41:26 | version 1.10, 1995/08/24 05:26:35 | ||
|---|---|---|---|
|
|
||
| fd = open(*db_p, O_RDONLY, 0); | fd = open(*db_p, O_RDONLY, 0); | ||
| if (fd < 0) { | if (fd < 0) { | ||
| /* No error on unfound file. */ | /* No error on unfound file. */ | ||
| if (errno == ENOENT) | continue; | ||
| continue; | |||
| free(record); | |||
| return (-2); | |||
| } | } | ||
| myfd = 1; | myfd = 1; | ||
| } | } |