/dports/archivers/unzip/unzip60/amiga/ |
H A D | amiga.c | 515 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */ 538 } else if (!S_ISDIR(G.statbuf.st_mode)) { 638 if (stat(pathcomp, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode)) {
|
/dports/archivers/unzip/unzip60/aosvs/ |
H A D | aosvs.c | 252 if (stat(G.filename, &G.statbuf) == 0 && unlink(G.filename) < 0) { in open_outfile() 816 } else if (!S_ISDIR(G.statbuf.st_mode)) { 936 if (rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 937 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/atari/ |
H A D | atari.c | 588 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 611 } else if (!S_ISDIR(G.statbuf.st_mode)) { 737 if (rootlen > 0 && (stat(tmproot, &G.statbuf) || 738 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/atheos/ |
H A D | atheos.c | 658 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */ 681 } else if (!S_ISDIR(G.statbuf.st_mode)) { 806 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 807 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/beos/ |
H A D | beos.c | 691 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */ 717 } else if (!S_ISDIR(G.statbuf.st_mode)) { 842 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 843 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/ |
H A D | fileio.c | 294 if (SSTAT(G.filename, &G.statbuf) == 0 || in open_outfile() 295 lstat(G.filename, &G.statbuf) == 0) in open_outfile() 297 if (SSTAT(G.filename, &G.statbuf) == 0) in open_outfile() 1912 if (SSTAT(filename, &G.statbuf)) { 1937 if (lstat(filename, &G.statbuf) == 0 && S_ISLNK(G.statbuf.st_mode)) { 1963 existing = G.statbuf.st_mtime; 1970 (G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ? 1971 G.statbuf.st_mtime + 1 : G.statbuf.st_mtime; 1978 existing = ((G.statbuf.st_mtime & 1) && 1979 (G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ? [all …]
|
H A D | globals.h | 261 z_stat statbuf; /* used by main, mapname, check_for_newer */ member
|
H A D | process.c | 671 if (SSTAT(G.zipfn, &G.statbuf) || 673 (error = S_ISLIB(G.statbuf.st_mode)) != 0 || 675 (error = S_ISDIR(G.statbuf.st_mode)) != 0) 715 G.ziplen = G.statbuf.st_size; 719 if (G.statbuf.st_mode & S_IEXEC) /* no extension on Unix exes: might */
|
H A D | process.c.orig | 671 if (SSTAT(G.zipfn, &G.statbuf) || 673 (error = S_ISLIB(G.statbuf.st_mode)) != 0 || 675 (error = S_ISDIR(G.statbuf.st_mode)) != 0) 715 G.ziplen = G.statbuf.st_size; 719 if (G.statbuf.st_mode & S_IEXEC) /* no extension on Unix exes: might */
|
/dports/archivers/unzip/unzip60/flexos/ |
H A D | flexos.c | 562 if (stat(buildpath, &G.statbuf)) /* path doesn't exist */ 583 } else if (!S_ISDIR(G.statbuf.st_mode)) { 704 (SSTAT(tmproot, &G.statbuf) || 705 !S_ISDIR(G.statbuf.st_mode))
|
/dports/archivers/unzip/unzip60/human68k/ |
H A D | human68k.c | 572 if (SSTAT(buildpath, &G.statbuf)) /* path doesn't exist */ 596 } else if (!S_ISDIR(G.statbuf.st_mode)) { 715 } else if (rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 716 !S_ISDIR(G.statbuf.st_mode))) /* path does not exist */
|
/dports/archivers/unzip/unzip60/macos/source/ |
H A D | macos.c | 593 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 613 } else if (!S_ISDIR(G.statbuf.st_mode)) { 731 if (rootlen > 0 && (stat(tmproot, &G.statbuf) || 732 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/msdos/ |
H A D | msdos.c | 769 if (stat(pathcomp, &G.statbuf) == 0) { 772 FnFilter1(pathcomp), G.statbuf.st_mode, G.statbuf.st_mode)); 778 if (stat(pathcomp, &G.statbuf) == 0 && S_ISCHR(G.statbuf.st_mode)) { 917 if (_dos_getfileattr(buildpath, &attrs) || stat(buildpath, &G.statbuf)) 919 if (SSTAT(buildpath, &G.statbuf)) /* path doesn't exist */ 942 } else if (!S_ISDIR(G.statbuf.st_mode)) { 1095 SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode)) 1097 if (SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode))
|
/dports/archivers/unzip/unzip60/netware/ |
H A D | netware.c | 566 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 590 } else if (!S_ISDIR(G.statbuf.st_mode)) { 706 if (rootlen > 0 && (stat(pathcomp, &G.statbuf) || 707 !S_ISDIR(G.statbuf.st_mode))) /* path does not exist */
|
/dports/archivers/unzip/unzip60/os2/ |
H A D | os2.c | 1504 if (GetFileTime(G.os2.buildpathFAT) == -1 || stat(G.os2.buildpathFAT, &G.statbuf)) 1506 if (stat(G.os2.buildpathFAT, &G.statbuf)) /* path doesn't exist */ 1541 } else if (!S_ISDIR(G.statbuf.st_mode)) { 1763 SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode)) 1765 if (SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode))
|
/dports/archivers/unzip/unzip60/qdos/ |
H A D | qdos.c | 682 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 705 } else if (!S_ISDIR(G.statbuf.st_mode)) { 832 if ((stat(tmproot, &G.statbuf) || 833 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/tandem/ |
H A D | tanunz.c | 247 if (SSTAT(G.filename, &G.statbuf) == 0) { in open_outfile() 657 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 672 } else if (!S_ISDIR(G.statbuf.st_mode)) { 802 if (rootlen > 0 && (stat(tmproot, &G.statbuf) || 803 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/theos/ |
H A D | theos.c | 719 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */ 764 } else if (!S_ISDIR(G.statbuf.st_mode) && isdir()) { 772 } else if (!S_ISLIB(G.statbuf.st_mode) && islib()) { 907 if (rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 908 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/unix/ |
H A D | unix.c | 652 if (!SSTAT(G.filename, &G.statbuf)) { 653 G.pInfo->file_attr |= G.statbuf.st_mode & S_ISGID; 804 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */ 830 } else if (!S_ISDIR(G.statbuf.st_mode)) { 955 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 956 !S_ISDIR(G.statbuf.st_mode)))
|
H A D | unix.c.orig | 652 if (!SSTAT(G.filename, &G.statbuf)) { 653 G.pInfo->file_attr |= G.statbuf.st_mode & S_ISGID; 804 if (SSTAT(G.buildpath, &G.statbuf)) { /* path doesn't exist */ 830 } else if (!S_ISDIR(G.statbuf.st_mode)) { 955 if (G.rootlen > 0 && (SSTAT(tmproot, &G.statbuf) || 956 !S_ISDIR(G.statbuf.st_mode)))
|
/dports/archivers/unzip/unzip60/vms/ |
H A D | vms.c | 5055 if (stat(filenam_stat, &G.statbuf))
|
/dports/archivers/unzip/unzip60/win32-experimental/ |
H A D | unz60d10_w32wide-Unicode_patch.txt | 1158 + : SSTAT(G.filename, &G.statbuf) 1252 + if (zlstat(filename, &G.statbuf) == 0 && S_ISLNK(G.statbuf.st_mode)) { 1278 + existing = G.statbuf.st_mtime; 1285 + (G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ? 1286 + G.statbuf.st_mtime + 1 : G.statbuf.st_mtime; 1294 + (G.statbuf.st_mtime + 1 > G.statbuf.st_mtime)) ? 1295 + G.statbuf.st_mtime + 1 : G.statbuf.st_mtime; 2872 + if (zstatw(pathcompw, &G.statbuf) == 0 && S_ISCHR(G.statbuf.st_mode)) { 3336 + if (SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode)) 3839 - if (SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode)) [all …]
|
/dports/archivers/unzip/unzip60/win32/ |
H A D | win32.c | 1960 if (zstat(pathcomp, &G.statbuf) == 0) { 1963 FnFilter1(pathcomp), G.statbuf.st_mode, G.statbuf.st_mode)); 1969 if (zstat(pathcomp, &G.statbuf) == 0 && S_ISCHR(G.statbuf.st_mode)) { 2187 if (SSTAT(G.buildpathFAT, &G.statbuf)) /* path doesn't exist */ 2218 } else if (!S_ISDIR(G.statbuf.st_mode)) { 2430 if (SSTAT(tmproot, &G.statbuf) || !S_ISDIR(G.statbuf.st_mode))
|
/dports/archivers/zstd/zstd-1.5.0/contrib/diagnose_corruption/ |
H A D | check_flipped_bits.c | 76 struct stat statbuf; in readFile() local 82 ret = stat(filename, &statbuf); in readFile() 87 if ((statbuf.st_mode & S_IFREG) != S_IFREG) { in readFile() 92 *size = statbuf.st_size; in readFile()
|
/dports/archivers/zstd/zstd-1.5.0/programs/ |
H A D | fileio.c | 589 stat_t statbuf; in FIO_removeFile() local 590 if (!UTIL_stat(path, &statbuf)) { in FIO_removeFile() 594 if (!UTIL_isRegularFileStat(&statbuf)) { in FIO_removeFile() 601 if (!(statbuf.st_mode & _S_IWRITE)) { in FIO_removeFile() 602 UTIL_chmod(path, &statbuf, _S_IWRITE); in FIO_removeFile() 613 stat_t statbuf; in FIO_openSrcFile() local 622 if (!UTIL_stat(srcFileName, &statbuf)) { in FIO_openSrcFile() 628 if (!UTIL_isRegularFileStat(&statbuf) in FIO_openSrcFile() 629 && !UTIL_isFIFOStat(&statbuf) in FIO_openSrcFile() 1640 stat_t statbuf; in FIO_compressFilename_dstFile() local [all …]
|