summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-09-11 18:29:27 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-09-11 18:29:27 +0200
commit38455293f740e0444d16a247dc06db8d8ca18581 (patch)
treefeb6f7f311cd917c3435d2f1debb3d2100a3a975 /ext/pcre/php_pcre.c
parentdc09f309335cf8df7d39adc03580ac8d4f0c78f5 (diff)
downloadphp-git-38455293f740e0444d16a247dc06db8d8ca18581.tar.gz
Make test case more resilient
This test case fails with external libgd, because libgd < 2.2.4 converts palette images to truecolor (<https://github.com/libgd/libgd/issues/297>). However, even if there happens no truecolor conversion, it is not guaranteed that the palette indexes of the original and the cropped image are identical (this is, for instance, not the case with current libgd master where the bug has been fixed). Therefore we check for the expected RGBA value instead of the palette index.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions