pkgsrc/sysutils/xentools3/patches/patch-de
hannken fdecb48665 Enable the build of pygrub.
Ok: Manuel Bouyer <bouyer@netbsd.org>
2008-03-03 16:45:27 +00:00

13 lines
535 B
Text

$NetBSD: patch-de,v 1.1 2008/03/03 16:45:27 hannken Exp $
--- libfsimage/iso9660/fsys_iso9660.c.orig 2008-01-31 10:06:54.000000000 +0000
+++ libfsimage/iso9660/fsys_iso9660.c 2008-03-01 11:52:29.000000000 +0000
@@ -164,7 +164,7 @@ iso9660_dir (fsi_file_t *ffi, char *dirn
/* pathlen = strcspn(dirname, "/\n\t "); */
for (pathlen = 0 ;
dirname[pathlen]
- && !isspace(dirname[pathlen]) && dirname[pathlen] != '/' ;
+ && !isspace((uint8_t)dirname[pathlen]) && dirname[pathlen] != '/' ;
pathlen++)
;