Home
last modified time | relevance | path

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

/php-src/ext/fileinfo/libmagic/
H A Dcompress.c481 int tfd; in file_pipe2file() local
501 tfd = open(ptr, O_RDWR|O_TRUNC|O_EXCL|O_CREAT, 0600); in file_pipe2file()
510 tfd = mkstemp(buf); in file_pipe2file()
517 if (tfd == -1) { in file_pipe2file()
523 if (swrite(tfd, startbuf, nbytes) != CAST(ssize_t, nbytes)) in file_pipe2file()
527 if (swrite(tfd, buf, CAST(size_t, r)) != r) in file_pipe2file()
547 if ((fd = dup2(tfd, fd)) == -1) { in file_pipe2file()
551 (void)close(tfd); in file_pipe2file()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1307 (void)close(tfd);

Completed in 13 milliseconds