delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/05/04:54:15

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 224A63857C72
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] Updated: cygutils 1.4.16-8 (Test)
To: cygwin AT cygwin DOT com
References: <announce DOT 20211103095939 DOT 14663-1-mark AT maxrnd DOT com>
<20211103220405 DOT aae44a1ae1d3be96939a2ec9 AT nifty DOT ne DOT jp>
<20211105122017 DOT 3c93edd3e86ce82f086098aa AT nifty DOT ne DOT jp>
<206bac56-73fd-074f-a6b7-77c36d28c3ba AT maxrnd DOT com>
<20211105170600 DOT 1f652492883ce09db9447e91 AT nifty DOT ne DOT jp>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <9c37dec7-ad00-a627-fb8d-714976e6b805@maxrnd.com>
Date: Fri, 5 Nov 2021 01:53:06 -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: <20211105170600.1f652492883ce09db9447e91@nifty.ne.jp>
X-Spam-Status: No, score=-4.0 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Takashi,

Takashi Yano via Cygwin wrote:
[...]
> I guess you just forgot to expand struct timespec in 32bit to
> 64bit layout in the following code.
> 
> -      if (cygNewFormat)
> +      if (cygNewFormat == 2)
>           {
>             cygcb_t *clipbufX = (cygcb_t *) clipbuf;
> +          clipbufX->cb_size = convlen;
> +          clock_gettime (CLOCK_REALTIME, &clipbufX->ts);
> +          memcpy (&clipbufX[1], convbuf, convlen);
> +        }
> +      else if (cygNewFormat == 1)
> +        {
> +          cygcb_old_t *clipbufX = (cygcb_old_t *) clipbuf;

I appreciate the assist.  I had just completed the needed builds when your message 
came in :-).  You are correct on the root cause.

I have tested and committed a fix to the cygutils git repository if you or anybody 
else needs the fix before -9 is released in a couple weeks:
https://cygwin.com/git?p=cygwin-apps/cygutils.git;a=commitdiff;h=ecb76449ca233873d01feacd3dfd22cbf7e95e34

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019