summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2021-01-19 16:39:55 -0500
committerUli Schlachter <psychon@znc.in>2021-12-21 06:25:29 +0000
commit70ca65fa35c3760661b090bc4b2601daa7a099b8 (patch)
treebc34723657c96e15a76d7d3137cc2122c9e0f0ad
parentbe9c255b6baac166966429c4442ddf2c99001bf5 (diff)
glx,xprint: place explicit padding between lists
Adjacent lists of char should not have any automatic padding added, since the alignment requirements for both are the same. Add explicit padding where it is required. Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/glx.xml2
-rw-r--r--src/xprint.xml8
2 files changed, 6 insertions, 4 deletions
diff --git a/src/glx.xml b/src/glx.xml
index 2e50aea..9abfc5b 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -491,6 +491,7 @@ The patch that fixed this server bug in X.org CVS is here:
<list type="char" name="gl_extension_string">
<fieldref>gl_str_len</fieldref>
</list>
+ <pad align="4" />
<list type="char" name="glx_extension_string">
<fieldref>glx_str_len</fieldref>
</list>
@@ -527,6 +528,7 @@ The patch that fixed this server bug in X.org CVS is here:
<list type="char" name="gl_extension_string">
<fieldref>gl_str_len</fieldref>
</list>
+ <pad align="4" />
<list type="char" name="glx_extension_string">
<fieldref>glx_str_len</fieldref>
</list>
diff --git a/src/xprint.xml b/src/xprint.xml
index f9af65f..fa3bb7f 100644
--- a/src/xprint.xml
+++ b/src/xprint.xml
@@ -102,7 +102,7 @@ authorization from the authors.
<list type="STRING8" name="printer_name">
<fieldref>printerNameLen</fieldref>
</list>
- <!-- There's some padding in here... -->
+ <pad align="4" />
<list type="STRING8" name="locale">
<fieldref>localeLen</fieldref>
</list>
@@ -125,7 +125,7 @@ authorization from the authors.
<list type="STRING8" name="printerName">
<fieldref>printerNameLen</fieldref>
</list>
- <!-- padding -->
+ <pad align="4" />
<list type="STRING8" name="locale">
<fieldref>localeLen</fieldref>
</list>
@@ -177,11 +177,11 @@ authorization from the authors.
<list type="BYTE" name="data">
<fieldref>len_data</fieldref>
</list>
- <!-- padding -->
+ <pad align="4" />
<list type="STRING8" name="doc_format">
<fieldref>len_fmt</fieldref>
</list>
- <!-- padding -->
+ <pad align="4" />
<list type="STRING8" name="options">
<fieldref>len_options</fieldref>
</list>