bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnats/444: Query expressions with spaces fail with native cc-compiled gn


From: Lars . Henriksen
Subject: gnats/444: Query expressions with spaces fail with native cc-compiled gnatsd
Date: Sun, 08 Dec 2002 03:43:38 -0500

>Number:         444
>Notify-List:    
>Category:       gnats
>Synopsis:       Query expressions with spaces fail with native cc-compiled 
>gnatsd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 08 03:43:38 -0500 2002
>Originator:     Lars Henriksen
>Release:        4.0
>Organization:

>Environment:
Native:
  Tru64 V5.1 (OSF1)
GNU:
  gcc 3.0.1
>Description:
Compiling GNATS with the native C compiler on an OSF/alpha
system has revealed a strange "bug". Apparently GNATS is
configured and built correctly, but the resulting gnatsd cannot handle query 
expressions with spaces. Some are accepted,
but the ensuing query returns no PRs (although it should),
others are rejected. A sample gnatsd session follows:

rset
210 Reset state.
expr category="test" & state="closed"
210 Ok.
quer
220 No PRs match.
rset
210 Reset state.
expr category="test"&state="closed"
210 Ok.
quer
300 PRs follow.
       2 gnats-ad test     closed    non-criti low      unknown    Test #2
       3 gnats-ad test     closed    non-criti medium   unknown    test #3
      11 gnats-ad test     closed    non-criti low      netman     test of 
local submitter-id
      12 gnats-ad test     closed    serious   medium   netman     testing 
queue-pr
      13 gnats-ad test     closed    non-criti low      netman     another cron 
test
.
rset
210 Reset state.
expr (category="test") & (state="closed")
415 Invalid expression.
expr (category="test")&(state="closed")
210 Ok.
quer
300 PRs follow.
(as before)

With gcc everything is OK.

The same disparity between gcc and the native compiler has
been observed on HP-UX, see
http://mail.gnu.org/pipermail/gnats-prs/2002-October/000951.html
>How-To-Repeat:

>Fix:
Unknown
>Unformatted:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]