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 4B9723858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com 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> <9bd9da13-ced2-343c-fed9-753975abc23b AT t-online DOT de> From: Mark Geisert Message-ID: <7070bfc9-07c8-06da-43af-9b9c1d99032b@maxrnd.com> Date: Mon, 23 Aug 2021 13:58:21 -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: 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 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" 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 -- 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