X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 35C8D3858D39
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=Denis-Excoffier.org
Authentication-Results: sourceware.org;
 spf=fail smtp.mailfrom=Denis-Excoffier.org
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
Subject: Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-8 (Test)
From: Denis Excoffier <cygwin@Denis-Excoffier.org>
In-Reply-To: <announce.20211103095939.14663-1-mark@maxrnd.com>
Date: Sun, 14 Nov 2021 18:23:47 +0100
Message-Id: <95DF7281-9391-4AEE-9427-7351DA47DBDE@Denis-Excoffier.org>
References: <announce.20211103095939.14663-1-mark@maxrnd.com>
To: cygwin@cygwin.com
X-Mailer: Apple Mail (2.3693.20.0.1.32)
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL,
 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: Denis Excoffier <cygwin@Denis-Excoffier.org>,
        Mark Geisert <mark@maxrnd.com>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AEHOBTJ029205

Hello,

> On 2021-11-03 10:59, Mark Geisert wrote:
> 
> The following packages have been uploaded to the Cygwin distribution:
> 
> * cygutils-1.4.16-8
> * cygutils-extra-1.4.16-8
> * cygutils-x11-1.4.16-8


The '-u' or '-d' option of getclip does not seem to work properly under xterm.
How to reproduce:
1) Open an xterm
2) Select a simple piece of text (with no line ending)
3) getclip -u
4) Observe 'Segmentation fault(core dumped)'

If step 2 is replaced by ‘printf AAAA | putclip', no error.
If step 3 is replaced by ‘getclip’, no error.

I can’t tell whether this is new or not.

Remarks:
1) If (under xterm) i select a piece of text with a line end, then i can observe ‘\r\n’ at the end (using getclip | od -c)
2) If i select a piece of text with a line end with putclip, i can only observe ‘\n’ at the end (echo "AAAA" | putclip | getclip | od -c)
3) I launch ‘xwin’ with ‘option -clipboard’ (the default), i suppose this does not matter
4) It might be related to xorg-server-21.1.0-1 (TEST) that i installed recently (2021-11-04), however xwinclip-21-1.0-1 didn’t come with the rest

Regards,

Denis Excoffier.


-- 
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

