From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27032 invoked by alias); 22 Apr 2011 19:05:32 -0000 Received: (qmail 27018 invoked by uid 22791); 22 Apr 2011 19:05:31 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Apr 2011 19:05:12 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LK200D00I9STD00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 22 Apr 2011 22:05:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.241.107]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LK200CPVICIPOL0@a-mtaout22.012.net.il>; Fri, 22 Apr 2011 22:05:10 +0300 (IDT) Date: Fri, 22 Apr 2011 19:05:00 -0000 From: Eli Zaretskii Subject: Re: [patch 3/3] case insensitive: the fix [rediff] In-reply-to: <20110422184129.GA14992@host1.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83wrimayzg.fsf@gnu.org> References: <20110408175731.GD25806@host1.jankratochvil.net> <20110422184129.GA14992@host1.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00417.txt.bz2 > Date: Fri, 22 Apr 2011 20:41:29 +0200 > From: Jan Kratochvil > > gdb/doc/ > 2011-04-22 Jan Kratochvil > > * gdb.texinfo (Index Section Format): Change the version to 5. > Describe the different formula. Thanks. > +the string is incorporated into the hash using the formula depending on the > +index version. The terminating @samp{\0} is not incorporated into the hash. > + > +@table @asis > +@item index version 4 > +The formula in use is @code{r = r * 67 + c - 113}. > + > +@item index version 5 > +The formula in use is @code{r = r * 67 + tolower (c) - 113}. > +@end table This @table will look weird in the manual: it produces lines that begin with a lower-case letter. Perhaps reorder thusly: the string is incorporated into the hash using the formula depending on the index version: @table @asis @item Version 4 The formula is @code{r = r * 67 + c - 113}. @item Version 5 The formula is @code{r = r * 67 + tolower (c) - 113}. @end table