Improve IBM Z patch
commitbe0c5581e38332b2ffa8a4cf92076cfde02872b4
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Apr 2019 17:26:30 +0000 (2 10:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Apr 2019 17:30:11 +0000 (2 10:30 -0700)
treef8bc0ca02f36ff9ba82871d45cc92913c903ca11
parent7a6f9c9c3267185a299ad178607ac5e3716ab4a5
Improve IBM Z patch

Most of this is minor changes to use GNU style and C99 constructs.
* NEWS: Mention IBM Z.
* bootstrap.conf (gnulib_modules): Add stdalign.
* dfltcc.c: Include stdalign.h, stdbool.h.
(union aligned_dfltcc_qaf_param, union aligned_dfltcc_param_v0):
New types, used for C11-style alignment.  All uses changed.
(init_param):
* gzip.c (BUFFER_ALIGNED): New macro.
(inbuf, outbuf, window): Use it, so buffers are aligned everywhere.
* gzip.h (INBUFSIZ, OUTBUFSIZE): Use big buffers everywhere,
unless SMALL_MEM.
* zip.c (SLOW, FAST): Now enums since they need not be macros:
NEWS
bootstrap.conf
deflate.c
dfltcc.c
gzip.c
gzip.h
lib/.gitignore
m4/.gitignore
unzip.c
util.c
zip.c