public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: Paul Eggert <eggert@cs.ucla.edu>,
	Hans-Peter Nilsson <hp@axis.com>,
	libc-alpha@sourceware.org, DJ Delorie <dj@redhat.com>
Cc: Christopher.Wong@axis.com
Subject: Re: [PATCH v2] timezone: handle truncated timezones from tzcode-2021d and later (BZ #28707)
Date: Fri, 17 Dec 2021 09:05:57 -0500	[thread overview]
Message-ID: <adf26014-b829-ddb2-5fad-136666cf5650@redhat.com> (raw)
In-Reply-To: <949e52bb-05a6-5ae6-edd1-37382384a554@cs.ucla.edu>

On 12/16/21 21:51, Paul Eggert wrote:
> Thanks for the patch. The basic idea looks right, but:
> 
> On 12/16/21 16:57, Hans-Peter Nilsson wrote:
>> diff --git a/timezone/testdata/XT5 b/timezone/testdata/XT5
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..aadcd6dccab37d1177d2c0ca725ea56c5dc7ca48
>> GIT binary patch
>> literal 156
>> zcmWHE%1kq2AP5+NDnJ+nLI`UCDP;m;4v_j7t+fqMz5oATy}-z#Yhb{jYhcX4Wut3g
>> cVrK#*jqP-N4Gr`R^$he4bbO8VOh61S07fYg0{{R3
>>
>> literal 0
> 
> Instead of putting that binary file directly in the repository it might be better to use the 'zic' command that you mentioned, to create the binary file from text source, as binary files in the repository are a pain for the usual reasons.
> 
> If it's too much trouble to invoke zic, then a shell 'printf' like the following should be OK.
> 
> # Put a comment here explaining how this file was derived.
> printf >XT5 \
> 'TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'\
> '\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0TZif2\0\0\0\0\0\0\0\0'\
> '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\b\0'\
> '\0\0\0\*\255\200\1\0\0\0\0\0\0\377\377\325\320\1\4-00\0-03\0\n'\
> '<-04>4<-03>,M10.1.0/0,M3.4.0/0\n'
 
DJ,

Could you please review the interaction between CI and this patch?

32-bit i686 CI/CD fell over because of the binary patch:
https://patchwork.sourceware.org/project/glibc/patch/20211217005744.E099F203C8@pchp3.se.axis.com/

It should be entirely possible to apply this, and it does
apply with git-pw patch apply.

-- 
Cheers,
Carlos.


  reply	other threads:[~2021-12-17 14:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 14:50 [PATCH] time: Remove assert in reading of tz file Christopher Wong
2021-12-06 15:10 ` Florian Weimer
2021-12-06 15:16   ` Christopher Wong
2021-12-17  0:57   ` [PATCH v2] timezone: handle truncated timezones from tzcode-2021d and later (BZ #28707) Hans-Peter Nilsson
2021-12-17  2:51     ` Paul Eggert
2021-12-17 14:05       ` Carlos O'Donell [this message]
2021-12-17 20:33         ` Hans-Peter Nilsson
2021-12-17 14:24       ` Carlos O'Donell
2021-12-17 17:57         ` Paul Eggert
2021-12-17 18:11           ` Hans-Peter Nilsson
2021-12-17 18:40             ` Paul Eggert
2021-12-17 20:36       ` [PATCH v3 0/2] timezone: BZ #28707 Hans-Peter Nilsson
2021-12-17 22:22         ` Paul Eggert
2021-12-29  0:50         ` Hans-Peter Nilsson
2021-12-29 23:12           ` Adhemerval Zanella
2021-12-17 20:38       ` [PATCH v3 1/2] timezone: handle truncated timezones from tzcode-2021d and later (BZ #28707) Hans-Peter Nilsson
2021-12-17 20:45       ` [PATCH v3 2/2] timezone: test-case for BZ #28707 Hans-Peter Nilsson
2021-12-17 20:51         ` Hans-Peter Nilsson

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=adf26014-b829-ddb2-5fad-136666cf5650@redhat.com \
    --to=carlos@redhat.com \
    --cc=Christopher.Wong@axis.com \
    --cc=dj@redhat.com \
    --cc=eggert@cs.ucla.edu \
    --cc=hp@axis.com \
    --cc=libc-alpha@sourceware.org \
    /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).