On Tue, Jun 23 2026, Dick Marinus wrote:

> Makes the structure compile-time constant and often stored in
> read-only location.
>
> Workaround to a problem with GCC (bugzilla #125252) which causes
> a segmentation fault.

This change looks good and commit message looks tolerable to me,

Tomi

> ---
>  notmuch-reply.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/notmuch-reply.c b/notmuch-reply.c
> index 44297251d..c72ca227e 100644
> --- a/notmuch-reply.c
> +++ b/notmuch-reply.c
> @@ -329,7 +329,7 @@ add_recipients_from_message (GMimeMessage *reply,
>                            GMimeMessage *message,
>                            bool reply_all)
>  {
> -    struct {
> +    static const struct {
>       InternetAddressList * (*get_header)(GMimeMessage *message);
>       GMimeAddressType recipient_type;
>      } reply_to_map[] = {
> -- 
> 2.54.0
>
> _______________________________________________
> notmuch mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to