[ANNOUNCEMENT] Test: cygutils 1.4.16-4 (TEST)
Mark Geisert
mark@maxrnd.com
Mon Aug 23 20:58:21 GMT 2021
Hi Corinna,
Corinna Vinschen via Cygwin wrote:
> On Aug 23 19:48, Christian Franke wrote:
>> Takashi Yano via Cygwin wrote:
>>> On Fri, 20 Aug 2021 16:28:42 -0700
>>> Mark Geisert wrote:
>>>> Hi Takashi,
>>>>
>>>> Takashi Yano via Cygwin wrote:
>>>> ...
>>>>> However, I encountered a problem with putclip.
>>>>> Run 'echo AAAAAAAA | putclip' and paste clipboard to notepad.exe.
>>>>> Pasted string is garbled in my environment.
>>>>>
>>>>> What am I wrong with?
>>>> s/am I/are we/ :-\ I can reproduce this. No idea what's wrong as there were no
>>>> recent changes to putclip. Let me dig further. Is this something you've done
>>>> routinely in the past and it was known to work?
>>> No. But I confirmed that this issue does not happen with 1.4.16-2.
>>> 1.4.16-3 and 1.4.16-4(TEST) have this problem.
>>
>> The problem is the putclip addition in file "cygutils-1.4.16-4.src.patch"
>> from the src package.
>>
>> It adds "SetClipboardData (CF_UNICODETEXT, hData)" but the data is not in 16
>> bit unicode format. Removing this new section fixes the problem.
>>
>> Another unrelated issue: GlobalFree() should possibly not be called on
>> handles passed to clipboard. See comment in "fhandler_clipboard.cc" from
>> Cygwin source.
>>
>> BTW: The cygdrop crash does no longer occur.
>>
>> BTW^2: Is there a new public repo for cygutils?
>> The old one ends at 1.4.16-2:
>> https://sourceware.org/git/?p=cygwin-apps/cygutils.git;a=summary
>
> Theoretically the idea was that this is the official repo for
> this tool. Mark, please keep it up.
Yes, that's the intent. I was tripped up by my build environment not being stock;
that's been remedied. I was also mightily confused by Charles' apparent use of
git *and* a huge patch file. Some of my previous updates went one place rather
than both. Or as in this latest putclip case, into the patch file when it wasn't
yet complete. I am in the process of clearing the debris and making it right.
Thanks & Regards,
..mark
More information about the Cygwin
mailing list