Changeset 432


Ignore:
Timestamp:
Apr 29, 2013, 7:18:17 PM (12 years ago)
Author:
katerina
Message:

Fix for ticket #337 (negated conditionals in config file don't work).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r431 r432  
     13.0.12:
     2        * Fix for bug in negated conditionals for config file
     3          (reported by M. Ward)
     4
    153.0.11:
    26        * Fix for compile error on HP-UX (reported by P. Alves)
  • trunk/src/sh_readconf.c

    r425 r432  
    199199          p += 4; while (isspace((int)*p)) ++p;
    200200          negate = 0;
     201          match  = 1;
    201202        }
    202203      else if (0 == strncmp(p, _("!"), 1))
     
    204205          ++p; while (isspace((int)*p)) ++p;
    205206          negate = 0;
     207          match  = 1;
    206208        }
    207209 
     
    284286#endif
    285287    default:
    286       match = 0;
     288      /* do nothing */;
    287289    }
    288290  return match;
     
    608610      }
    609611
     612    /* fprintf(stderr, "%d %s\n", cond_excl, line); */
     613
    610614    /****************************************************
    611615     *
Note: See TracChangeset for help on using the changeset viewer.