php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3557 C syntax error
Submitted: 2000-02-21 17:58 UTC Modified: 2000-07-12 20:23 UTC
From: zeekamotay at hotmail dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (21/02/2000) OS: RH 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zeekamotay at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-02-21 17:58 UTC] zeekamotay at hotmail dot com
This is actually for beta4pl1, but there's no option in the selector for it yet...

ext/dav/php_dav.h, line 46, reads:
<pre>
int phpdav_mkcol_test_handler(request_rec *);
</pre>
It should read:
<pre>
int phpdav_mkcol_test_handler(request_rec *r);
</pre>
I also had to add
<pre>
#include "httpd.h"
</pre>
to the start of that file in order to define the request_rec struct. In addition, ext/dav/dav.c, line 159, reads:
<pre>
PHP_MINFO_FUNCTION(phpdav);
</pre>
It should read:
<pre>
PHP_MINFO_FUNCTION(phpdav)
</pre>
Making these changes allow the module to compile, but there are still some warnings about making ints from pointers without casting.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-12 11:00 UTC] sas at cvs dot php dot net
DAV support is broken. Moving to feature request.
 [2000-07-12 20:23 UTC] sterling at cvs dot php dot net
DAV is not supported at all.  The DAV module needs a complete re-write.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 05:00:02 2026 UTC