]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability fix.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Dec 2001 19:55:05 +0000 (19:55 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:42:20 +0000 (23:42 +0200)
src/ChangeLog
src/x-java.l

index 7bb60dfb56d83feb223b1ffef8d66162ac9812bc..945d1647822f1a993e6d1b3049d654580d405e2e 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-11  Bruno Haible  <bruno@clisp.org>
+
+       * x-java.l (strip_ending_spaces): Fix isspace call.
+
 2001-12-09  Bruno Haible  <bruno@clisp.org>
 
        * x-lisp.h: New file.
index 05d80118d5d2f78985f13d73e232ca96ffae9494..a9ead92442ea1e4c48612a978674b78210502322 100644 (file)
@@ -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';
 }