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>
This commit is contained in:
Peter Harris 2021-01-19 16:39:55 -05:00 committed by Uli Schlachter
parent be9c255b6b
commit 70ca65fa35
2 changed files with 6 additions and 4 deletions

View file

@ -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>

View file

@ -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>