cvs: php-src(PHP_5_2) /ext/gd/libgd gdft.c

From: Date: Fri, 15 Sep 2006 16:11:39 +0000
Subject: cvs: php-src(PHP_5_2) /ext/gd/libgd gdft.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40537@lists.php.net to get a copy of this message
nlopess Fri Sep 15 16:11:39 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/gd/libgd gdft.c Log: fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.36.4.1&r2=1.36.4.2&diff_format=u Index: php-src/ext/gd/libgd/gdft.c diff -u php-src/ext/gd/libgd/gdft.c:1.36.4.1 php-src/ext/gd/libgd/gdft.c:1.36.4.2 --- php-src/ext/gd/libgd/gdft.c:1.36.4.1 Wed Aug 23 20:22:31 2006 +++ php-src/ext/gd/libgd/gdft.c Fri Sep 15 16:11:39 2006 @@ -534,7 +534,7 @@ pixel = a->pixel = b->pixel; bg = a->bgcolor = b->bgcolor; fg = a->fgcolor = b->fgcolor; - im = b->im; + im = a->im = b->im; /* if fg is specified by a negative color idx, then don't antialias */ if (fg < 0) {

« previous php.cvs (#40537) next »