Re: RE: [Gallery-users] can't create albums (fwd)
| From: | Jim Winstead | Date: | Mon, 06 May 2002 16:38:15 +0000 |
| Subject: | Re: RE: [Gallery-users] can't create albums (fwd) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83760@lists.php.net to get a copy of this message | ||
James E. Flemer <jflemer@acm.jhu.edu> wrote:
> Perhaps this broke it: (it looks like the most recent
> change to mkdir())
>
>
> http://cvs.php.net/diff.php/php4/ext/standard/file.c?r1=1.203&r2=1.204&ty=u
>
> I am looking into it.
passing a pointer to a mode_t (&mode) to zend_parse_parameters(), which
uses it as a pointer to long, is probably the cause of the problem.
mode should be declared as a long in the function, and cast to a mode_t
when passed to VCWD_MKDIR.
jim