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 224A63857C72 for ; Fri, 5 Nov 2021 08:53:17 +0000 (GMT) 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 Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 1A58rGwG047578 for ; Fri, 5 Nov 2021 01:53:16 -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 smtpd6eBLNI; Fri Nov 5 00:53:06 2021 Subject: Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-8 (Test) To: cygwin@cygwin.com References: <20211103220405.aae44a1ae1d3be96939a2ec9@nifty.ne.jp> <20211105122017.3c93edd3e86ce82f086098aa@nifty.ne.jp> <206bac56-73fd-074f-a6b7-77c36d28c3ba@maxrnd.com> <20211105170600.1f652492883ce09db9447e91@nifty.ne.jp> From: Mark Geisert 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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@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: Fri, 05 Nov 2021 08:53:19 -0000 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