Fossil SCM
Fix Windows build.
Commit
4e586a2d8e690d14e33205472b9749620d1ab705
Parent
8a0c546990b2608…
1 file changed
+1
+1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -63,10 +63,11 @@ | ||
| 63 | 63 | #else |
| 64 | 64 | int rc = 0; |
| 65 | 65 | char *zMbcs = fossil_utf8_to_mbcs(zFilename); |
| 66 | 66 | rc = stat(zMbcs, buf); |
| 67 | 67 | fossil_mbcs_free(zMbcs); |
| 68 | + return rc; | |
| 68 | 69 | #endif |
| 69 | 70 | } |
| 70 | 71 | |
| 71 | 72 | /* |
| 72 | 73 | ** Fill in the fileStat variable for the file named zFilename. |
| 73 | 74 |
| --- 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 |