GNU bug report logs -
#60382
FYI: two syntax-check nits, preparing for a snapshot
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Wed, 28 Dec 2022 17:05:02 UTC
Severity: normal
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60382 in the body.
You can then email your comments to 60382 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gzip <at> gnu.org
:
bug#60382
; Package
gzip
.
(Wed, 28 Dec 2022 17:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jim Meyering <jim <at> meyering.net>
:
New bug report received and forwarded. Copy sent to
bug-gzip <at> gnu.org
.
(Wed, 28 Dec 2022 17:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
FYI: I've just pushed these:
[gzip-nits.diff (text/x-patch, inline)]
From 00f4ade0914a1d27897db3686d0cbe7284f6bea9 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> fb.com>
Date: Wed, 28 Dec 2022 08:36:27 -0800
Subject: [PATCH 1/2] maint: SPC-indent inflate.c
* inflate.c: Indent with spaces, not TABs.
---
inflate.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/inflate.c b/inflate.c
index 083d286..91fa3d8 100644
--- a/inflate.c
+++ b/inflate.c
@@ -314,13 +314,13 @@ int *m /* maximum lookup bits, returns actual */
#ifdef DEBUG
if (1 < verbose && *p)
{
- if (' ' <= n - i && n - i <= '~')
- {
- char ch = n - i;
- fprintf (stderr, "%c %u\n", ch, *p);
- }
- else
- fprintf (stderr, "0x%x %u\n", n - i, *p);
+ if (' ' <= n - i && n - i <= '~')
+ {
+ char ch = n - i;
+ fprintf (stderr, "%c %u\n", ch, *p);
+ }
+ else
+ fprintf (stderr, "0x%x %u\n", n - i, *p);
}
#endif
c[*p]++; /* assume all entries <= BMAX */
@@ -584,7 +584,7 @@ inflate_codes(struct huft *tl, struct huft *td, int bl, int bd)
d = w - t->v.n - ((unsigned)b & mask_bits[e]);
DUMPBITS(e)
if (fresh && w <= d)
- return 1;
+ return 1;
Tracevv ((stderr, "\\[%u,%u]", w - d, n));
/* do the copy */
--
2.39.0.132.g8a4e8f6a67
From 7553200068763f99b148572c338bbbd46201fa45 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> fb.com>
Date: Wed, 28 Dec 2022 08:48:01 -0800
Subject: [PATCH 2/2] maint: avoid new sc_tight_scope syntax-check failure
* cfg.mk (_gl_TS_extern): Allow a leading '_Noreturn ' on
declarations like that of abort_gzip.
---
cfg.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cfg.mk b/cfg.mk
index 2f00e77..3676661 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -101,3 +101,5 @@ export _gl_TS_dir = .
export _gl_TS_unmarked_extern_vars = \
block_start d_buf inbuf outbuf prev read_buf strstart window \
match_start prev_length max_chain_length good_match nice_match
+
+_gl_TS_extern = (?:_Noreturn )?extern
--
2.39.0.132.g8a4e8f6a67
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Wed, 28 Dec 2022 20:08:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jim Meyering <jim <at> meyering.net>
:
bug acknowledged by developer.
(Wed, 28 Dec 2022 20:08:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 60382-done <at> debbugs.gnu.org (full text, mbox):
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 26 Jan 2023 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.