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

Bug#538714: marked as done (xprop: -spy doesn't flush STDOUT)



Your message dated Sun, 06 Dec 2009 21:07:51 +0000
with message-id <E1NHOKd-0006iu-5r@ries.debian.org>
and subject line Bug#538714: fixed in x11-utils 7.5+1
has caused the Debian Bug report #538714,
regarding xprop: -spy doesn't flush STDOUT
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
538714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538714
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-utils
Version: 7.4+1
Severity: normal
Tags: patch

When using 'xprop -spy' in a script, output gets buffered and flushed after
many events filled the buffer. This behaviour makes this option useless for
scripting purposes.

Solution is simple and there is a patch available here:
http://archive.netbsd.se/?ml=xorg-team&a=2008-05&m=7510488

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-utils depends on:
ii  cpp                    4:4.3.3-9         The GNU C preprocessor (cpp)
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfontenc1            1:1.0.4-3         X11 font encoding library
ii  libfreetype6           2.3.9-4.1         FreeType 2 font engine, shared lib
ii  libgl1-mesa-glx [libgl 7.0.3-7           A free implementation of the OpenG
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libsm6                 2:1.1.0-2         X11 Session Management library
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxaw7                2:1.0.5-2         X11 Athena Widget library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxft2                2.1.13-3          FreeType-based font drawing librar
ii  libxi6                 2:1.1.4-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxmuu1               2:1.0.4-1         X11 miscellaneous micro-utility li
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  libxtst6               2:1.0.3-1         X11 Testing -- Resource extension 
ii  libxv1                 2:1.0.4-1         X11 Video extension library
ii  libxxf86dga1           2:1.0.2-1         X11 Direct Graphics Access extensi
ii  libxxf86vm1            1:1.0.2-1         X11 XFree86 video mode extension l
ii  x11-common             1:7.3+19          X Window System (X.Org) infrastruc
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

x11-utils recommends no packages.

Versions of packages x11-utils suggests:
ii  mesa-utils                    7.0.3-7    Miscellaneous Mesa GL utilities

-- no debconf information
--- xprop.c.orig	2008-03-08 09:22:32.000000000 +1100
+++ xprop.c	2008-05-30 10:37:36.000000000 +1000
@@ -1738,6 +1738,7 @@
 	XEvent event;
 	const char *format, *dformat;
 	
+	fflush(stdout);
 	XSelectInput(dpy, target_win, PropertyChangeMask);
 	for (;;) {
 	    XNextEvent(dpy, &event);
@@ -1753,6 +1754,7 @@
 		dformat = props[i].dformat;
 	    }
 	    Show_Prop(format, dformat, Format_Atom(event.xproperty.atom));
+		fflush(stdout);
 	}
     }
     exit (0);

--- End Message ---
--- Begin Message ---
Source: x11-utils
Source-Version: 7.5+1

We believe that the bug you reported is fixed in the latest version of
x11-utils, which is due to be installed in the Debian FTP archive:

x11-utils_7.5+1.dsc
  to main/x/x11-utils/x11-utils_7.5+1.dsc
x11-utils_7.5+1.tar.gz
  to main/x/x11-utils/x11-utils_7.5+1.tar.gz
x11-utils_7.5+1_i386.deb
  to main/x/x11-utils/x11-utils_7.5+1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 538714@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brice Goglin <bgoglin@debian.org> (supplier of updated x11-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 06 Dec 2009 21:20:22 +0100
Source: x11-utils
Binary: x11-utils
Architecture: source i386
Version: 7.5+1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Brice Goglin <bgoglin@debian.org>
Description: 
 x11-utils  - X11 utilities
Closes: 537532 538714
Changes: 
 x11-utils (7.5+1) unstable; urgency=low
 .
   [ Julien Cristau ]
   * Update config.{guess,sub} for xmessage, adding avr32 support (closes:
     #537532).
 .
   [ Brice Goglin ]
   * appres 1.0.2.
   * editres 1.0.4.
   * luit 1.0.4.
   * xdpyinfo 1.1.0.
   * xdriinfo 1.0.3.
   * xev 1.0.4.
   * xkill 1.0.2.
   * xlsatoms 1.0.2.
   * xlsclients 1.0.2.
   * xprop 1.1.0.
     + Fix -spy to flush stdout, closes: #538714.
     + Drop 05_xprop_spy_exit_on_destroy.diff, applied upstream.
   * xvinfo 1.1.0.
   * xwininfo 1.0.5.
   * Refresh patches.
Checksums-Sha1: 
 eb338b86478614dfd0fe3defb4880deee5ef0a79 1421 x11-utils_7.5+1.dsc
 4bac929560b6293bd06b3269bca99c95d81a7099 2234231 x11-utils_7.5+1.tar.gz
 7cc609d1589a42c64f11e887bb2cc1d22fc3cd8a 204746 x11-utils_7.5+1_i386.deb
Checksums-Sha256: 
 4ead3a0126155a7eb2894488f9c5d9f5e0d22820e236d5834621624b4a8585ec 1421 x11-utils_7.5+1.dsc
 616ec3365485ade1a3664ce8b8c81c76270c83ba59764573b10dda5ab60f925f 2234231 x11-utils_7.5+1.tar.gz
 ae04552138294f984cd254ccbc9ae180a3399aada1544feb702f5ad593053983 204746 x11-utils_7.5+1_i386.deb
Files: 
 cb28459fcf84e57429ebb75253ff1ad8 1421 x11 optional x11-utils_7.5+1.dsc
 48012fb50c65c305fa33e22a9b21cab9 2234231 x11 optional x11-utils_7.5+1.tar.gz
 173f8d85a037ab41d6bef06598a12740 204746 x11 optional x11-utils_7.5+1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkscEvEACgkQRh88F8PcWfqkkgCfaaU28r2K1RWYXfTRgpg+c133
wo8An1W6nZZLJp8focGhW2GsZ403LSzb
=I05W
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: