Home
last modified time | relevance | path

Searched refs:i_fd (Results 1 – 4 of 4) sorted by relevance

/PHP-5.4/ext/fileinfo/libmagic/
H A Dcdf.c308 if (info->i_fd == -1) in cdf_read()
311 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1) in cdf_read()
314 if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len) in cdf_read()
1318 if ((info.i_fd = open(argv[1], O_RDONLY)) == -1)
1360 (void)close(info.i_fd);
H A Dcdf.h271 int i_fd; member
H A Dreadcdf.c238 info.i_fd = fd;
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch922 if (info->i_fd == -1)
925 - if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
926 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1)
929 + if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len)

Completed in 24 milliseconds