From: Bruno Haible Date: Tue, 11 Dec 2001 19:55:05 +0000 (+0000) Subject: Portability fix. X-Git-Tag: v0.11~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb7681e7e9497cff15270f5606851059c93ae086;p=thirdparty%2Fgettext.git Portability fix. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7bb60dfb5..945d16478 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-12-11 Bruno Haible + + * x-java.l (strip_ending_spaces): Fix isspace call. + 2001-12-09 Bruno Haible * x-lisp.h: New file. diff --git a/src/x-java.l b/src/x-java.l index 05d80118d..a9ead9244 100644 --- a/src/x-java.l +++ b/src/x-java.l @@ -164,7 +164,7 @@ strip_ending_spaces (str) { int len = strlen (str); - while (isspace (str[len--])) + while (isspace ((unsigned char) str[len--])) ; str[len] = '\0'; }