From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15215 invoked from network); 6 May 2003 21:13:13 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 6 May 2003 21:13:13 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19D9fR-0003rP-06 for listarch-gnats-devel@sources.redhat.com; Tue, 06 May 2003 17:08:05 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19D9fB-0003q5-00 for help-gnats@gnu.org; Tue, 06 May 2003 17:07:49 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19D9f8-0003oG-00 for help-gnats@gnu.org; Tue, 06 May 2003 17:07:47 -0400 Received: from nwkea-mail-1.sun.com ([192.18.42.13]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19D9d8-00034I-00 for help-gnats@gnu.org; Tue, 06 May 2003 17:05:42 -0400 Received: from lego-mail1.Norway.Sun.COM ([129.159.112.5]) by nwkea-mail-1.sun.com (8.9.3p2+Sun/8.9.3) with ESMTP id OAA25970; Tue, 6 May 2003 14:05:34 -0700 (PDT) Received: from bo4avolbli41egh.sun.com ([129.159.115.205]) with ESMTP id h46L5X51019493; Tue, 6 May 2003 23:05:33 +0200 (MEST) Message-Id: <5.2.1.1.0.20030506230434.00ce1aa8@ms-etro01-01.norway.sun.com> X-Sender: ys136781@ms-etro01-01.norway.sun.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Tue, 06 May 2003 21:13:00 -0000 To: Lars Henriksen From: Yngve Svendsen In-Reply-To: <20030505174504.GA477164@teapot.netman.dk> References: <5.2.1.1.0.20030429212316.00d0c430@ms-etro01-01.norway.sun.com> <5.2.1.1.0.20030429212316.00d0c430@ms-etro01-01.norway.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: "'help-gnats@gnu.org'" Subject: Re: Categories containing "++" make gnatsweb crash X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General discussion about GNU GNATS List-Help: List-Post: List-Subscribe: , List-Archive: Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q2/txt/msg00042.txt.bz2 At 19:45 05.05.2003 +0200, Lars Henriksen wrote: >I have another comment, though. If the field value isn't a known enumeration >value, the value 'unknown' is inserted in the enumeration array and made >the default value for display. But in my original code the insertion of >'unknown' only happened if it wasn't already there (the second grep operation >above). The reason is that 'unknown' may be a perfectly valid enumeration >value (and if it is already there, we don't want to insert it a second time). >E.g. I have the following entry in the responsible file: > >unknown:The name is not in the responsible file - use "view" to see >it.:gnats-admin > >If you edit a PR with an unknown responsible, the descriptive text is then >diplayed as a guide to the user. > >Here is a suggestion for a modified foreach-loop: (snip) Committed both to the head and v4-0 branches. - Yngve _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats