[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#509966: x11-xserver-utils: iceauth fails with non-ASCII characters in hostname



Package: x11-xserver-utils
Version: 7.3+5
Tags: patch, upstream

if the system's hostname contains non-ASCII characters, iceauth will
fail, typically with something like 'bad "add" command line'.  please
apply the attached patch, which removes the extraneous isascii() check
in the skip_nonspace() function.

-- 
Robert Edmonds
edmonds@debian.org
--- x11-xserver-utils-7.3+5/iceauth/process.c.orig	2008-12-27 21:07:51.376933195 -0500
+++ x11-xserver-utils-7.3+5/iceauth/process.c	2008-12-27 21:09:49.660932536 -0500
@@ -269,7 +269,7 @@ static char *skip_nonspace (register cha
     if (!s) return NULL;
 
     /* put quoting into loop if need be */
-    for ( ; *s && isascii(*s) && !isspace(*s); s++)
+    for ( ; *s && !isspace(*s); s++)
 	;
     return s;
 }

Attachment: signature.asc
Description: Digital signature


Reply to: