On 2025-04-24 09:13, Eric Blake wrote:
case '\'':
+case 'z':
Python uses \Z for this and Python's \A ... \Z is cleaner and easier to
remember than Perl's \A ... \z, so how about if we follow Python's lead
instead? Users could get the effect of Perl's \Z, which is less commonl
Building gzip, I see this warning:
/GZIP/gzip/lib/crc-generate-table.c:41:15: warning: no previous declaration for
'crc_table' [-Wmissing-variable-declarations]
This patch fixes it.
2025-04-26 Bruno Haible
crc: Fix -Wmissing-variable-declarations warning.
* lib/crc-generate
These gcc warnings:
../../gllib/stdopen.c:40:30: warning: leak of file descriptor 'full_fd'
[CWE-775]
../../gllib/stdopen.c:40:30: warning: leak of file descriptor 'new_fd' [CWE-775]
../../gllib/stdopen.c:59:15: warning: leak of file descriptor 'new_fd' [CWE-775]
are not false positives. But the
These patches fix some -Wmissing-variable-declarations warnings:
../../gllib/argp-ba.c:24:13: warning: no previous declaration for
'argp_program_bug_address'
../../gllib/argp-pv.c:23:13: warning: no previous declaration for
'argp_program_version'
../../gllib/bitset/array.c:628:22: warning: no pr
This patch fixes -Wshadow=local warnings:
../../gllib/vasnprintf.c:5249:49: warning: declaration of 'i' shadows a
previous local
../../gllib/vasnprintf.c:5575:57: warning: declaration of 'i' shadows a
previous local
../../gllib/vasnprintf.c:5849:49: warning: declaration of 'i' shadows a
previou
This patch fixes the remaining -Wunterminated-string-initialization warnings
from gcc 15.
../../gltests/test-gc-arctwo.c:30:24: warning: initializer-string for array of
'char' truncates NUL terminator but destination lacks 'nonstring' attribute (9
chars into 8 available)
../../gltests/test-gc-ar