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

Bug#235144: let's try that again



merge 197526 235144
thanks

On Wed, Jul 26, 2006 at 10:12:41PM -0400, Branden Robinson wrote:
> merge 197526 253144
> forwarded 197526 https://bugs.freedesktop.org/show_bug.cgi?id=7647
> tag 197526 + patch
> thanks
> 
> Patch attached.
> 
> -- 
> G. Branden Robinson                |     You don't just decide to break
> Debian GNU/Linux                   |     Kubrick's code of silence and then
> branden@debian.org                 |     get drawn away from it to a
> http://people.debian.org/~branden/ |     discussion about cough medicine.

-- 
G. Branden Robinson                |
Debian GNU/Linux                   |         Ab abusu ad usum non valet
branden@debian.org                 |         consequentia.
http://people.debian.org/~branden/ |
Index: xprop.c
===================================================================
--- xprop.c	(revision 2474)
+++ xprop.c	(working copy)
@@ -1199,6 +1199,12 @@
 	nbytes = sizeof(short);
     else if (actual_format == 8)
 	nbytes = 1;
+    else if (actual_format == 0)
+	/*
+	 * Some broken implementations can return zero, despite what the
+	 * XGetWindowProperty manual page says.
+	 */
+	nbytes = 0;
     else
 	abort();
     *length = min(nitems * nbytes, max_len);

Attachment: signature.asc
Description: Digital signature


Reply to: