From: "Alexey I. Froloff" <raorn@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] broken ruby-rpm?
Date: Mon, 11 Oct 2010 23:18:07 +0400
Message-ID: <20101011191807.GB14210@altlinux.org> (raw)
In-Reply-To: <AANLkTi=x07HGcbKPV0VUe1Fkn_ZxCxJ3vZX1pZS58A7f@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
On Mon, Oct 11, 2010 at 11:14:03AM +0300, Igor Zubkov wrote:
> Это с версией из Сизифа. На лицо баг обработки поля time из
> %changelog.
На 32-х битах это естественно не повторяется?
ruby-rpm/ext/rpm/package.c:
689 char **times,**names,**texts;
...
695 if (!headerGetEntryMinMemory(RPM_HEADER(pkg), RPMTAG_CHANGELOGTIME, (hTYP_t)&timetype,
696 (hPTR_t*)×, (hCNT_t)&count)) {
697 return cl;
698 }
...
711 for (i = 0; i < count; i++) {
712 VALUE chglog = rb_struct_new(
713 rpm_sChangeLog,
714 rb_time_new((time_t)times[i], (time_t)0),
715 rb_str_new2(names[i]),
716 rb_str_new2(texts[i]));
717 rb_ary_push(cl, chglog);
718 }
times, видимо, надо превратить в int_32 *. Я этим заняться смогу
не раньше вечера четверга. У тебя права есть.
--
Regards, --
Sir Raorn. --- http://thousandsofhate.blogspot.com/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2010-10-11 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 8:14 Igor Zubkov
2010-10-11 19:18 ` Alexey I. Froloff [this message]
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=20101011191807.GB14210@altlinux.org \
--to=raorn@altlinux.org \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git