From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-8 (Test)
Date: Fri, 5 Nov 2021 01:53:06 -0700 [thread overview]
Message-ID: <9c37dec7-ad00-a627-fb8d-714976e6b805@maxrnd.com> (raw)
In-Reply-To: <20211105170600.1f652492883ce09db9447e91@nifty.ne.jp>
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
next prev parent reply other threads:[~2021-11-05 8:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 9:59 Mark Geisert
2021-11-03 13:04 ` Takashi Yano
2021-11-04 4:31 ` Mark Geisert
2021-11-04 4:58 ` Thomas Wolff
2021-11-04 8:47 ` Mark Geisert
2021-11-04 20:08 ` Brian Inglis
2021-11-05 3:20 ` Takashi Yano
2021-11-05 5:40 ` Mark Geisert
2021-11-05 8:06 ` Takashi Yano
2021-11-05 8:53 ` Mark Geisert [this message]
2021-11-14 17:23 ` Denis Excoffier
2021-11-14 17:55 ` Mark Geisert
2021-11-14 17:55 ` Brian Inglis
2021-11-21 10:36 ` Mark Geisert
2021-11-21 14:51 ` Jon Turney
2021-11-22 7:08 ` Andrey Repin
2021-11-22 8:14 ` Takashi Yano
2021-11-23 9:08 ` Mark Geisert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9c37dec7-ad00-a627-fb8d-714976e6b805@maxrnd.com \
--to=mark@maxrnd.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).