GNU bug report logs -
#75451
scratch/igc: Enable CHECK_STRUCTS
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 9 Jan 2025 01:20:38 -0600
with message-id <CADwFkmkV+7Lrb5e83_Tb6mCxDP85cZE1sm3OMEzO_M0=bvAnAw <at> mail.gmail.com>
and subject line Re: bug#75451: scratch/igc: Enable CHECK_STRUCTS
has caused the debbugs.gnu.org bug report #75451,
regarding scratch/igc: Enable CHECK_STRUCTS
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
75451: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75451
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Severity: wishlist
Gerd, how do you feel about the below change? There's no rush to make
this change if it's inconvenient for you, but since you use IN_MY_FORK
elsewhere, I figured that it might be okay for you here also?
If it's too much trouble, let's just revisit this later. This bug
report will serve as a reminder, if we just lave it open.
diff --git a/src/igc.c b/src/igc.c
index 079b6a90ac6..b03c64a52b8 100644
--- a/src/igc.c
+++ b/src/igc.c
@@ -76,8 +76,7 @@
# error "HAVE_PDUMPER required"
#endif
-#if 0 /* Not yet because that make transfer between GNU and my fork
- painful. */
+#ifndef IN_MY_FORK
#ifdef CHECK_STRUCTS
# include "dmpstruct.h"
[Message part 3 (message/rfc822, inline)]
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> Severity: wishlist
>>
>> Gerd, how do you feel about the below change? There's no rush to make
>> this change if it's inconvenient for you, but since you use IN_MY_FORK
>> elsewhere, I figured that it might be okay for you here also?
>>
>> If it's too much trouble, let's just revisit this later. This bug
>> report will serve as a reminder, if we just lave it open.
>>
>> diff --git a/src/igc.c b/src/igc.c
>> index 079b6a90ac6..b03c64a52b8 100644
>> --- a/src/igc.c
>> +++ b/src/igc.c
>> @@ -76,8 +76,7 @@
>> # error "HAVE_PDUMPER required"
>> #endif
>>
>> -#if 0 /* Not yet because that make transfer between GNU and my fork
>> - painful. */
>> +#ifndef IN_MY_FORK
>> #ifdef CHECK_STRUCTS
>> # include "dmpstruct.h"
>
> No no, it's no trouble. Thanks for working on this!
>
> I'd even go a step further and remove the whole #if. I think it's more
> useful nowadays to have the checks than to make patching easier.
OK, thanks! I removed the #if on scratch/igc (commit 826491d501d).
> (BTW, the contents of the #if might be out of date, not sure if we
> meanwhile fix/scan additional structs.)
I've now added checks for all structs that we use in "fix_*" functions
(commit 76a0d739024). I kept notes to make sure I didn't miss anything,
but it's not impossible that I did. I'll double-check things later.
I plan to do anything passed to the "finalize_*" ones next, which should
cover most of the ones we currently depend on, I think.
This bug report was last modified 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.