X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 Subject: Re: [ANNOUNCEMENT] Test: cygutils 1.4.16-4 (TEST) To: cygwin AT cygwin DOT com References: <20210820203518 DOT 97ced25c9a8b228b24b6fa0f AT nifty DOT ne DOT jp> <20210822000656 DOT e12ae82f4fb91410e3a20054 AT nifty DOT ne DOT 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> 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 AT cygwin DOT 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple