Re: bad pointer
| From: | Evan Klinger | Date: | Wed, 01 Dec 1999 01:39:50 +0000 |
| Subject: | Re: bad pointer | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13321@lists.php.net to get a copy of this message | ||
Sascha Schumann wrote:
>
> On Tue, Nov 30, 1999 at 08:48:47PM -0500, Shane Caraveo wrote:
> >
> > Someone commited in the last 24 hours a change that causes a compile
> > warning:
> >
> > main.c
> > e:\src\phpcvs\php4\main.c(897) : warning C4113: 'struct _iobuf *(__cdecl
> > *)(const char *,char ** )' differs in parameter lists from 'struct
> > _iobuf *(__cdecl *)(const char *)'
>
> You probably need to update your libzend checkout.
>
> Line 897 refers to the fopen_function field of
> zend_utility_functions. This was changed recently to
>
> FILE *(*fopen_function)(const char *filename, char **opened_path);
>
> PHP assigns php_fopen_wrapper_for_zend to that field:
>
> FILE *php_fopen_wrapper_for_zend(const char *filename, char **opened_path);
>
> This looks ok to me.
Ahh. Since when do you have to cd libzend; cvs up to update it? It
always updated everything from within php4.
--
ev
----------------------------
Evan Klinger evan@php.net
AIM evan715