[Xcb-commit] src
Jamey Sharp
jamey at kemper.freedesktop.org
Sun Nov 19 23:59:41 PST 2006
src/c-client.xsl | 4 ++++
1 files changed, 4 insertions(+)
New commits:
diff-tree 3d9bb02012b35fd51ed3352d0bd974a0f6e439d8 (from 3fa50020d2d9b78e22cf3597f4688c4e22df5121)
Author: Jamey Sharp <jamey at minilop.net>
Date: Sun Nov 19 21:48:27 2006 -0800
Bug #5958: Also zero out the implicit pad byte in empty requests.
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 8b951cb..5df5762 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -722,6 +722,10 @@ authorization from the authors.
<l><xsl:value-of select="@ref" /> xcb_out;</l>
<l />
+ <xsl:if test="not ($ext) and not($struct//*[(self::field or self::exprfield or self::pad)
+ and not(boolean(@no-assign))])">
+ <l>xcb_out.pad0 = 0;</l>
+ </xsl:if>
<xsl:apply-templates select="$struct//*[(self::field or self::exprfield or self::pad)
and not(boolean(@no-assign))]"
mode="assign" />
More information about the xcb-commit
mailing list