]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-11-16 Felix Zielcke <fzielcke@z-51.de>
authorFelix Zielcke <fzielcke@z-51.de>
Mon, 16 Nov 2009 18:47:10 +0000 (19:47 +0100)
committerFelix Zielcke <fzielcke@z-51.de>
Mon, 16 Nov 2009 18:47:10 +0000 (19:47 +0100)
* util/mkisofs/name.c (FDECL3): Use isascii macro instead of
relying that char is signed.

ChangeLog
util/mkisofs/name.c

index bb159de75bf3303147c9eda2bb4256458f17c699..affe343d9e183c2b18802555da49dd065370a92e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-16  Felix Zielcke  <fzielcke@z-51.de>
+
+       * util/mkisofs/name.c (FDECL3): Use isascii macro instead of
+       relying that char is signed.
+
 2009-11-16  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing
index 4df5b9de44aa7ccb1cbf97b10a1307310036cc00..5d4597ae67eb59dc381bd59c1d9b3f264fc2f5c0 100644 (file)
@@ -213,7 +213,7 @@ int FDECL3(iso9660_file_length,
            }
          if(current_length < 30) 
            {
-             if( *pnt < 0 )
+             if( !isascii (*pnt))
                {
                  *result++ = '_';
                }
@@ -281,7 +281,7 @@ int FDECL3(iso9660_file_length,
                      switch (*pnt) 
                        {
                        default:
-                         if( *pnt < 0 )
+                         if( !isascii (*pnt) )
                            {
                              *result++ = '_';
                            }