From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id 1AEF63858D39 for ; Mon, 23 Aug 2021 20:51:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1AEF63858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 17NKpHCL067831 for ; Mon, 23 Aug 2021 13:51:17 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdWsLqsb; Mon Aug 23 13:51:16 2021 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> <9bd9da13-ced2-343c-fed9-753975abc23b@t-online.de> From: Mark Geisert Message-ID: Date: Mon, 23 Aug 2021 13:51:17 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <9bd9da13-ced2-343c-fed9-753975abc23b@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham 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 20:51:29 -0000 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