Displaying 1 result from an estimated 1 matches for "debc11".
Did you mean:
dec11
2013 Apr 20
2
Metaflac hex dump UTF-8 and locale fix
...n seems to return true for tabulator
control character under Windows when application isn't using C-locale.
At least it did so for all locales I tried (Finnish, German, English US).
-------------- next part --------------
diff --git a/src/metaflac/utils.c b/src/metaflac/utils.c
index 934cfcf..debc11e 100644
--- a/src/metaflac/utils.c
+++ b/src/metaflac/utils.c
@@ -77,17 +77,23 @@ void local_strcat(char **dest, const char *source)
safe_strncpy((*dest)+ndest, source, ndest + nsource + 1);
}
+static inline int local_isprint(int c)
+{
+ if (c < 0x32) return 0;
+ return isprint(c);
+}
+
vo...