GNU bug report logs - #76414
31.0.50; can't paste images with yank-media

Previous Next

Package: emacs;

Reported by: the_wurfkreuz <the_wurfkreuz <at> proton.me>

Date: Wed, 19 Feb 2025 14:45:03 UTC

Severity: normal

Found in version 31.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 76414 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: the_wurfkreuz <the_wurfkreuz <at> proton.me>
Cc: 76414 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#76414: 31.0.50; can't paste images with yank-media
Date: Sun, 23 Feb 2025 09:46:58 +0530
[சனி பிப்ரவரி 22, 2025] the_wurfkreuz wrote:

>>> could you please check if reverting ff65cc9944dc0b37986d512ee8b9817c6913db36 fixes the
> issue?
>
> Reverting the commit fixes the issue.

Paul, can you please take a look at this bug report?  Your recent commit

    commit ff65cc9944dc0b37986d512ee8b9817c6913db36
    Author: Paul Eggert <eggert <at> cs.ucla.edu>
    Date:   Sun Jan 26 22:15:49 2025 -0800

        Pacify GCC in pgtkselect malloc alignment

        * src/pgtkselect.c (pgtk_size_for_format): Remove.
        (pgtk_get_window_property): Third arg is now void **, not unsigned
        char **.  Omit last arg.  All callers changed.  Simplify
        allocation to pacify GCC 14.2.1 complaint about malloc size
        mismatching size of array: there’s no need for an extra byte when
        converting from ldata to idata.
        (selection_data_to_lisp_data): Third arg is now void const *,
        not unsigned char const *.  All callers changed.
        Omit unnecessary casts.  Make some locals more local.

seems to have introduced a regression.  Details of reproduction are in
OP.




This bug report was last modified 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.