Fossil SCM

Rephrase a comment for clarification.

florian 2024-12-24 06:39 trunk
Commit d3e366e7504c32bda09e3d0d9a6ed247be8efb959fbb11482c3a153c8b685652
1 file changed +1 -1
--- tools/translate.c
+++ tools/translate.c
@@ -81,11 +81,11 @@
8181
*/
8282
static const char *zInFile = "(stdin)";
8383
8484
/*
8585
** The `fossil_isspace()' function copied from the Fossil source code.
86
-** Some MSVC runtime library versions of `isspace()' fail with an assertion that
86
+** Some MSVC runtime library versions of `isspace()' break with an `assert()' if
8787
** the input is smaller than -1 or greater than 255 in debug builds, due to sign
8888
** extension when promoting `signed char' to `int' for non-ASCII characters. Use
8989
** an `isspace()' replacement instead of explicit type casts to `unsigned char'.
9090
*/
9191
int fossil_isspace(char c){
9292
--- tools/translate.c
+++ tools/translate.c
@@ -81,11 +81,11 @@
81 */
82 static const char *zInFile = "(stdin)";
83
84 /*
85 ** The `fossil_isspace()' function copied from the Fossil source code.
86 ** Some MSVC runtime library versions of `isspace()' fail with an assertion that
87 ** the input is smaller than -1 or greater than 255 in debug builds, due to sign
88 ** extension when promoting `signed char' to `int' for non-ASCII characters. Use
89 ** an `isspace()' replacement instead of explicit type casts to `unsigned char'.
90 */
91 int fossil_isspace(char c){
92
--- tools/translate.c
+++ tools/translate.c
@@ -81,11 +81,11 @@
81 */
82 static const char *zInFile = "(stdin)";
83
84 /*
85 ** The `fossil_isspace()' function copied from the Fossil source code.
86 ** Some MSVC runtime library versions of `isspace()' break with an `assert()' if
87 ** the input is smaller than -1 or greater than 255 in debug builds, due to sign
88 ** extension when promoting `signed char' to `int' for non-ASCII characters. Use
89 ** an `isspace()' replacement instead of explicit type casts to `unsigned char'.
90 */
91 int fossil_isspace(char c){
92

Keyboard Shortcuts

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