The following reply was made to PR mod_include/1139; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: Brian Slesinsky <[EMAIL PROTECTED]>
Subject: Re: mod_include/1139: parse_expr()  evaluates some expressions 
containing && or || incorrectly
Date: Wed, 24 Sep 1997 17:25:30 -0700 (PDT)

 
 Uh I gave a bogus patch.  Here's a corrected one. 
 
 Dean
 
 On Thu, 18 Sep 1997, Dean Gaudet wrote:
 
   --- mod_include.c.dist       Thu Sep 18 01:33:45 1997
   +++ mod_include.c    Thu Sep 18 01:40:47 1997
   @@ -1332,6 +1332,7 @@
                        strncpy(current->left->token.value, buffer,
                                MAX_STRING_LEN-1);
                    current->left->token.value[MAX_STRING_LEN-1] = '\0';
   +                current->left->value = (current->left->token.value[0] != 
'\0');
                        current->left->done = 1;
                        break;
                      default:
   @@ -1347,6 +1348,7 @@
                        strncpy(current->right->token.value, buffer,
                                MAX_STRING_LEN-1);
                    current->right->token.value[MAX_STRING_LEN-1] = '\0';
   +                current->right->value = (current->right->token.value[0] != 
'\0');
                        current->right->done = 1;
                        break;
                      default:
   
   
  
 

Reply via email to