Fossil SCM
Enabled the 'c=convert' commit option for Cygwin, now that it can handle UTF-16.
Commit
a6f4093e3f64896757eb858ba13d4f43cf4197e4
Parent
18d8d2a69dde367…
1 file changed
+1
-1
+1
-1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -966,11 +966,11 @@ | ||
| 966 | 966 | if ( encodingOk ){ |
| 967 | 967 | return 0; /* We don't want encoding warnings for this file. */ |
| 968 | 968 | } |
| 969 | 969 | zWarning = "Unicode"; |
| 970 | 970 | zDisable = "\"encoding-glob\" setting"; |
| 971 | -#ifndef _WIN32 | |
| 971 | +#if !defined(_WIN32) && !defined(__CYGWIN__) | |
| 972 | 972 | zConvert = ""; /* On Unix, we cannot easily convert Unicode files. */ |
| 973 | 973 | #endif |
| 974 | 974 | } |
| 975 | 975 | file_relative_name(zFilename, &fname, 0); |
| 976 | 976 | blob_zero(&ans); |
| 977 | 977 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -966,11 +966,11 @@ | |
| 966 | if ( encodingOk ){ |
| 967 | return 0; /* We don't want encoding warnings for this file. */ |
| 968 | } |
| 969 | zWarning = "Unicode"; |
| 970 | zDisable = "\"encoding-glob\" setting"; |
| 971 | #ifndef _WIN32 |
| 972 | zConvert = ""; /* On Unix, we cannot easily convert Unicode files. */ |
| 973 | #endif |
| 974 | } |
| 975 | file_relative_name(zFilename, &fname, 0); |
| 976 | blob_zero(&ans); |
| 977 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -966,11 +966,11 @@ | |
| 966 | if ( encodingOk ){ |
| 967 | return 0; /* We don't want encoding warnings for this file. */ |
| 968 | } |
| 969 | zWarning = "Unicode"; |
| 970 | zDisable = "\"encoding-glob\" setting"; |
| 971 | #if !defined(_WIN32) && !defined(__CYGWIN__) |
| 972 | zConvert = ""; /* On Unix, we cannot easily convert Unicode files. */ |
| 973 | #endif |
| 974 | } |
| 975 | file_relative_name(zFilename, &fname, 0); |
| 976 | blob_zero(&ans); |
| 977 |