Re: [PATCH] fix symbol namespace pollution from bundled libgd
| From: | Derick Rethans | Date: | Mon, 02 Aug 2004 08:55:27 +0000 |
| Subject: | Re: [PATCH] fix symbol namespace pollution from bundled libgd | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11814@lists.php.net to get a copy of this message | ||
On Fri, 23 Jul 2004, Joe Orton wrote:
> Building the bundled libgd library into PHP causes symbol namespace
> pollution; if any other Apache modules link a different version of libgd
> into the Apache process they may instead pick up symbols from the PHP
> libgd, and segfault randomly. (One of our users saw this when using
> mod_perl with Perl::GD)
Hmm, I don't really like this "hiding" of symbol names. Why just not fix
our bundled GD to use the correct names?
regards,
Derick