OSDN Git Service

* src/lharc.c (find_files): MinGW has st_ino but always 0.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 18 May 2002 18:43:33 +0000 (18:43 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 18 May 2002 18:43:33 +0000 (18:43 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@54 6a8cc165-1e22-0410-a132-eb4e3f353aba

src/lharc.c

index 98ef105..5455114 100644 (file)
@@ -862,7 +862,7 @@ find_files(name, v_filec, v_filev)
                newname[len + n] = '\0';
                if (GETSTAT(newname, &fil_stbuf) < 0)
                        continue;
-#ifndef HAVE_ST_INO
+#if !defined(HAVE_ST_INO) || __MINGW32__
                if ( dp->d_name[0] != '.' ||
                        (n != 1 &&
                         (dp->d_name[1] != '.' ||