Home
last modified time | relevance | path

Searched refs:fdin (Results 1 – 2 of 2) sorted by relevance

/PHP-5.4/ext/fileinfo/libmagic/
H A Dcompress.c389 int fdin[2], fdout[2]; in uncompressbuf() local
412 (void) dup(fdin[0]); in uncompressbuf()
413 (void) close(fdin[0]); in uncompressbuf()
414 (void) close(fdin[1]); in uncompressbuf()
441 (void) close(fdin[0]); in uncompressbuf()
449 if (swrite(fdin[1], old, n) != (ssize_t)n) { in uncompressbuf()
471 (void) close(fdin[1]); in uncompressbuf()
472 fdin[1] = -1; in uncompressbuf()
492 if (fdin[1] != -1) in uncompressbuf()
493 (void) close(fdin[1]); in uncompressbuf()
[all …]
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch1293 - if (dup(fdin[0]) == -1)
1295 + (void) dup(fdin[0]);
1296 (void) close(fdin[0]);
1297 (void) close(fdin[1]);
1308 fdin[1] = -1;

Completed in 11 milliseconds