+2013-11-11 Daiki Ueno <ueno@gnu.org>
+
+ * x-c.c (phase5_get): Fix misuse of a logical operator.
+ * x-perl.c (extract_quotelike_pass3): Likewise.
+ * x-vala.c (phase3_get): Likewise.
+ Reported by David Binderman at: <https://savannah.gnu.org/bugs/?40528>.
+
2013-10-23 Daiki Ueno <ueno@gnu.org>
* read-catalog-abstract.c (catalog_reader_parse): Clear
}
buffer[bufpos++] = c;
c = phase4_getc ();
- if (c != '+' || c != '-')
+ if (c != '+' && c != '-')
{
phase4_ungetc (c);
break;
if (*crs)
{
int the_char = (unsigned char) *crs;
- if (the_char >= 'a' || the_char <= 'z')
+ if (the_char >= 'a' && the_char <= 'z')
the_char = the_char - 'a' + 'A';
buffer[bufpos++] = the_char ^ 0x40;
}
}
buffer[bufpos++] = c;
c = phase2_getc ();
- if (c != '+' || c != '-')
+ if (c != '+' && c != '-')
{
phase2_ungetc (c);
break;