summaryrefslogtreecommitdiff
path: root/emulators/tme/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/tme/patches/patch-ad')
-rw-r--r--emulators/tme/patches/patch-ad13
1 files changed, 11 insertions, 2 deletions
diff --git a/emulators/tme/patches/patch-ad b/emulators/tme/patches/patch-ad
index de250794f3d..48837131cff 100644
--- a/emulators/tme/patches/patch-ad
+++ b/emulators/tme/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.1 2004/12/05 07:32:17 skrll Exp $
+$NetBSD: patch-ad,v 1.2 2005/07/27 07:29:26 skrll Exp $
---- libtme/misc.c.orig 2003-06-27 22:00:21.000000000 +0100
+--- libtme/misc.c.orig 2004-05-11 12:03:47.000000000 +0000
+++ libtme/misc.c
@@ -83,7 +83,7 @@ tme_misc_tokenize(const char *string,
@@ -11,3 +11,12 @@ $NetBSD: patch-ad,v 1.1 2004/12/05 07:32:17 skrll Exp $
|| c == comment) {
/* if we had been collecting a token, it's finished: */
+@@ -184,7 +184,7 @@ _tme_misc_number_parse(const char *strin
+ /* XXX parts of this might be ASCII-centric: */
+
+ /* skip leading whitespace: */
+- for (; (c = *string) != '\0' && isspace(c); string++);
++ for (; (c = *string) != '\0' && isspace((unsigned char)c); string++);
+
+ /* check for a leading '-' or '+' character: */
+ if ((negative = (c == '-'))