[ANNOUNCEMENT] Test: cygutils 1.4.16-4 (TEST)

Mark Geisert mark@maxrnd.com
Mon Aug 23 20:51:17 GMT 2021


Hi Christian,

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.

Alternatively, add the missing code to make it work.  I'm debugging that now.

> Another unrelated issue: GlobalFree() should possibly not be called on handles 
> passed to clipboard. See comment in "fhandler_clipboard.cc" from Cygwin source.

I appreciate the help.

> BTW: The cygdrop crash does no longer occur.

Right, a separate issue with my build environment that has been fixed.

> 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

The public repo will be updated when I've got something stable and correct enough 
to place there ;-).
Thanks & Regards,

..mark



More information about the Cygwin mailing list