(ef_close): Reset member fd.
(ef_open): Catch attempt to open open file.
This commit is contained in:
parent
a3dd70f8c0
commit
bfd14661c5
2 changed files with 6 additions and 2 deletions
|
@ -46,7 +46,7 @@ struct empfile {
|
|||
void (*init) (int, char *); /* call this when object is created */
|
||||
int (*postread) (int, char *); /* specific massage routines for items */
|
||||
int (*prewrite) (int, char *);
|
||||
int fd; /* file descriptor */
|
||||
int fd; /* file descriptor, -1 if not open */
|
||||
int baseid; /* starting item in cache */
|
||||
int cids; /* # ids in cache */
|
||||
int csize; /* size of cache in bytes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue