PHP 4.0 Bug #5971: line 1876 of pdf.c [value instead of *value]
| From: | regainfo at usa dot net | Date: | Fri, 04 Aug 2000 16:30:57 +0000 |
| Subject: | PHP 4.0 Bug #5971: line 1876 of pdf.c [value instead of *value] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27720@lists.php.net to get a copy of this message | ||
From: regainfo@usa.net
Operating system: Linux RedHat 6.1
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: line 1876 of pdf.c [value instead of *value]
On Linux I installed PDFlib 3.0 and php 4.0.1pl2.
I got a compilation failure during make of php.
The configuration of php was:
--with-pdflib [defaulted to /usr/local/lib]
the problem is in the function
pdf_get_parameter();
where is defined
char *value;
vlue is used thereafter without asterisk!
I bypassed the problem corecting pdf.c in ~/ext/pdf.c
at line 1877 and 1879.
I think this is quite sufficient for you.
Thankyou for this beatiful new PHP4.
P.S.
This problem was not present in php 4.0RC2