From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by sourceware.org (Postfix) with ESMTPS id F1ECF385AC2C for ; Mon, 23 Aug 2021 17:48:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F1ECF385AC2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-online.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=t-online.de Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout08.t-online.de (Postfix) with SMTP id 8CD625822 for ; Mon, 23 Aug 2021 19:48:26 +0200 (CEST) Received: from [192.168.2.101] (SUemraZCwhDjY1uSkT2kgOcro-8vleiV3r6PZ8bDfRJE5r8alGUVhQ1IOcduECQwkx@[79.230.161.132]) by fwd02.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1mIE3S-1eCPyK0; Mon, 23 Aug 2021 19:48:14 +0200 Subject: Re: [ANNOUNCEMENT] Test: cygutils 1.4.16-4 (TEST) To: cygwin@cygwin.com References: <20210820203518.97ced25c9a8b228b24b6fa0f@nifty.ne.jp> <20210822000656.e12ae82f4fb91410e3a20054@nifty.ne.jp> From: Christian Franke Message-ID: <9bd9da13-ced2-343c-fed9-753975abc23b@t-online.de> Date: Mon, 23 Aug 2021 19:48:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.8.1 MIME-Version: 1.0 In-Reply-To: <20210822000656.e12ae82f4fb91410e3a20054@nifty.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: SUemraZCwhDjY1uSkT2kgOcro-8vleiV3r6PZ8bDfRJE5r8alGUVhQ1IOcduECQwkx X-TOI-EXPURGATEID: 150726::1629740894-00000CA1-5CBD8952/0/0 CLEAN NORMAL X-TOI-MSGID: 582dedf8-1726-4267-9de2-2c5269ddfff5 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 17:48:38 -0000 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 Regards, Christian