Searched refs:duped_fd (Results 1 – 1 of 1) sorted by relevance
1075 int duped_fd = dup(fileno(stdin)); in xmlGzfileOpen_real() local1076 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpen_real()1077 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpen_real()1078 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpen_real()1154 int duped_fd = dup(fileno(stdout)); in xmlGzfileOpenW() local1155 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpenW()1156 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpenW()1157 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpenW()