TD-1912
This commit is contained in:
parent
38c28f1cb6
commit
9c7640e570
|
@ -25,9 +25,9 @@ extern "C" {
|
|||
#define tlseek(fd, offset, whence) lseek(fd, offset, whence)
|
||||
#define tclose(fd) \
|
||||
{ \
|
||||
if (FD_VALID(x)) { \
|
||||
close(x); \
|
||||
x = FD_INITIALIZER; \
|
||||
if (FD_VALID(fd)) { \
|
||||
close(fd); \
|
||||
fd = FD_INITIALIZER; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue