This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: foldEQ_utf8_flags() use specific flag, not just any
authorKarl Williamson <public@khwilliamson.com>
Sun, 18 Dec 2011 18:38:34 +0000 (11:38 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sun, 18 Dec 2011 19:09:00 +0000 (12:09 -0700)
commitba9114af805c1f409d573d03e17e4b53cd257ebc
treefc35abc639eef5f0b48ce4281e7d9c7d5b347e5e
parentae4de4099e764f5284fc664e66a465483a959592
utf8.c: foldEQ_utf8_flags() use specific flag, not just any

The test here was if any flag was set, not the particular desired one.
This doesn't cause any bugs as things are currently structured, but
could in the future.

The reason it doesn't cause any bugs currently are that the other
flags are tested first, and only if they are both 0 does this flag get
tested.
utf8.c