public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* gnats/189: gen-index generates bad index
@ 2001-05-08 11:44 nidd
0 siblings, 0 replies; 2+ messages in thread
From: nidd @ 2001-05-08 11:44 UTC (permalink / raw)
To: gnats-gnats
>Number: 189
>Category: gnats
>Synopsis: gen-index generates bad index
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 08 11:44:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter A. Novodvorsky
>Release: gnats-4.0alpha
>Organization:
>Environment:
>Description:
gen-index generates bad index. It puts number of fields in the end.
>How-To-Repeat:
gen-index -o /tmp/index
mv /tmp/index $GNATS_ROOT/gnats-adm/
/usr/lib/gnats/check-db
>Fix:
Patch is attached
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gnats-3.999-gen-index-binary-index-fix.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gnats-3.999-gen-index-binary-index-fix.patch"
LS0tIGduYXRzL2dlbi1pbmRleC5jfglTdW4gQXByIDE1IDIyOjExOjUxIDIwMDEKKysrIGduYXRz
L2dlbi1pbmRleC5jCVR1ZSBNYXkgIDggMjA6MDA6MzEgMjAwMQpAQCAtMzE1LDE4ICszMTUsMTgg
QEAKICAgICAgIEluZGV4RGVzYyBkZXNjID0gZ2V0SW5kZXhEZXNjIChkYXRhYmFzZSk7CiAgICAg
ICBzZXRJbmRleERlc2NCaW5hcnkgKGRlc2MsIEZBTFNFKTsKICAgICB9CisgCisgIGlmIChpbmRl
eElzQmluYXJ5IChkYXRhYmFzZSkpCisgICAgeworICAgICAgY2hhciBudW1GaWVsZHMgPSBpbmRl
eEZpZWxkQ291bnQgKGRhdGFiYXNlKTsKKyAgICAgIGZ3cml0ZSAoJm51bUZpZWxkcywgMSwgMSwg
b3V0cHV0KTsKKyAgICB9ICAKICAgCiAgIGlmIChpbXBvcnRwKQogICAgIGRvX3BycyAoZGF0YWJh
c2UsIHByKTsKICAgZWxzZQogICAgIGZvciAoYyA9IGNsaXN0IDsgYyA7IGMgPSBjLT5uZXh0KQog
ICAgICAgZG9fY2F0ZWdvcnkgKGRhdGFiYXNlLCBjLT5hZG1GaWVsZHNbQ2F0ZWdvcnlBZG1LZXld
KTsKLQotICBpZiAoaW5kZXhJc0JpbmFyeSAoZGF0YWJhc2UpKQotICAgIHsKLSAgICAgIGNoYXIg
bnVtRmllbGRzID0gaW5kZXhGaWVsZENvdW50IChkYXRhYmFzZSk7Ci0gICAgICBmd3JpdGUgKCZu
dW1GaWVsZHMsIDEsIDEsIG91dHB1dCk7Ci0gICAgfQogCiAgIGlmIChzb3J0X251bWVyaWNhbCAm
JiBudW1fZW50cmllcyA+IDApCiAgICAgewo=
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnats/189: gen-index generates bad index
@ 2001-05-10 15:34 Yngve Svendsen
0 siblings, 0 replies; 2+ messages in thread
From: Yngve Svendsen @ 2001-05-10 15:34 UTC (permalink / raw)
To: nobody; +Cc: gnats-prs
The following reply was made to PR gnats/189; it has been noted by GNATS.
From: Yngve Svendsen <yngve.svendsen@clustra.com>
To: nidd@debian.org,gnats-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gnats/189: gen-index generates bad index
Date: Fri, 11 May 2001 00:29:34 +0200
At 18:40 08.05.2001 +0000, nidd@debian.org wrote:
> >Description:
>gen-index generates bad index. It puts number of fields in the end.
> >How-To-Repeat:
>gen-index -o /tmp/index
>mv /tmp/index $GNATS_ROOT/gnats-adm/
>/usr/lib/gnats/check-db
> >Fix:
>Patch is attached
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
Thanks. I tested it, and it solved the problem I reported in PR 180.
I think it should be committed as soon as possible.
Yngve Svendsen
IS Engineer
Clustra AS, Trondheim, Norway
yngve.svendsen@clustra.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-10 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-08 11:44 gnats/189: gen-index generates bad index nidd
2001-05-10 15:34 Yngve Svendsen
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).