Home
last modified time | relevance | path

Searched refs:statbuf (Results 76 – 100 of 6507) sorted by path

12345678910>>...261

/dports/archivers/unzip/unzip60/amiga/
H A Damiga.c515 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 Daosvs.c252 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 Datari.c588 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 Datheos.c658 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 Dbeos.c691 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 Dfileio.c294 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 Dglobals.h261 z_stat statbuf; /* used by main, mapname, check_for_newer */ member
H A Dprocess.c671 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 Dprocess.c.orig671 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 Dflexos.c562 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 Dhuman68k.c572 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 Dmacos.c593 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 Dmsdos.c769 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 Dnetware.c566 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 Dos2.c1504 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 Dqdos.c682 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 Dtanunz.c247 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 Dtheos.c719 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 Dunix.c652 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 Dunix.c.orig652 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 Dvms.c5055 if (stat(filenam_stat, &G.statbuf))
/dports/archivers/unzip/unzip60/win32-experimental/
H A Dunz60d10_w32wide-Unicode_patch.txt1158 + : 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 Dwin32.c1960 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 Dcheck_flipped_bits.c76 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 Dfileio.c589 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 …]

12345678910>>...261