projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa5002
)
Bug #5958: Also zero out the implicit pad byte in empty requests.
author
Jamey Sharp
<jamey@minilop.net>
Mon, 20 Nov 2006 05:48:27 +0000
(21:48 -0800)
committer
Jamey Sharp
<jamey@minilop.net>
Mon, 20 Nov 2006 07:59:25 +0000
(23:59 -0800)
src/c-client.xsl
patch
|
blob
|
history
diff --git
a/src/c-client.xsl
b/src/c-client.xsl
index
8b951cb
..
5df5762
100644
(file)
--- 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" />