mirror of /home/gitosis/repositories/libowfat.git
more BSD compat
parent
316a38ae42
commit
2e1b8aef8e
|
@ -2,9 +2,9 @@
|
|||
#include "io_internal.h"
|
||||
|
||||
void io_close(int64 d) {
|
||||
io_entry* e;
|
||||
close(d);
|
||||
io_entry* e=array_get(&io_fds,sizeof(io_entry),d);
|
||||
if (e) {
|
||||
if ((e=array_get(&io_fds,sizeof(io_entry),d))) {
|
||||
e->inuse=0;
|
||||
io_dontwantread(d);
|
||||
io_dontwantwrite(d);
|
||||
|
|
Loading…
Reference in New Issue