Fossil SCM

Fix Windows build.

dmitry 2011-09-08 12:59 UTC symlinks
Commit 4e586a2d8e690d14e33205472b9749620d1ab705
1 file changed +1
+1
--- src/file.c
+++ src/file.c
@@ -63,10 +63,11 @@
6363
#else
6464
int rc = 0;
6565
char *zMbcs = fossil_utf8_to_mbcs(zFilename);
6666
rc = stat(zMbcs, buf);
6767
fossil_mbcs_free(zMbcs);
68
+ return rc;
6869
#endif
6970
}
7071
7172
/*
7273
** Fill in the fileStat variable for the file named zFilename.
7374
--- src/file.c
+++ src/file.c
@@ -63,10 +63,11 @@
63 #else
64 int rc = 0;
65 char *zMbcs = fossil_utf8_to_mbcs(zFilename);
66 rc = stat(zMbcs, buf);
67 fossil_mbcs_free(zMbcs);
 
68 #endif
69 }
70
71 /*
72 ** Fill in the fileStat variable for the file named zFilename.
73
--- src/file.c
+++ src/file.c
@@ -63,10 +63,11 @@
63 #else
64 int rc = 0;
65 char *zMbcs = fossil_utf8_to_mbcs(zFilename);
66 rc = stat(zMbcs, buf);
67 fossil_mbcs_free(zMbcs);
68 return rc;
69 #endif
70 }
71
72 /*
73 ** Fill in the fileStat variable for the file named zFilename.
74

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button