(ef_extend): Fix rev. 1.25.

This commit is contained in:
Markus Armbruster 2005-10-24 22:44:29 +00:00
parent e29369fadb
commit 62264f8ada

View file

@ -378,7 +378,7 @@ ef_extend(int type, int count)
if (ep->flags & EFF_MEM) { if (ep->flags & EFF_MEM) {
/* XXX this will cause problems if there are ef_ptrs (to the /* XXX this will cause problems if there are ef_ptrs (to the
* old allocated structure) active when we do the re-open */ * old allocated structure) active when we do the re-open */
how = ep->flags; how = ep->flags & EFF_OPEN;
ef_close(type); ef_close(type);
ef_open(type, how); ef_open(type, how);
} else { } else {