#28818 [Opn->Csd]: missing ctx->finfo.st_dev
| From: | iliaa@php.net | Date: | Fri, 18 Jun 2004 00:37:12 +0000 |
| Subject: | #28818 [Opn->Csd]: missing ctx->finfo.st_dev | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61049@lists.php.net to get a copy of this message | ||
ID: 28818
Updated by: iliaa@php.net
Reported By: xuefer at 21cn dot com
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: linux
PHP Version: 4.3.7
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-06-17 14:27:46] xuefer at 21cn dot com
Description:
------------
affected pecl/apc
patch:
cvs diff: Diffing .
Index: sapi_apache2.c
===================================================================
RCS file: /repository/php-src/sapi/apache2handler/sapi_apache2.c,v
retrieving revision 1.1.2.30
diff -u -r1.1.2.30 sapi_apache2.c
--- sapi_apache2.c 16 Mar 2004 22:38:17 -0000 1.1.2.30
+++ sapi_apache2.c 17 Jun 2004 12:21:41 -0000
@@ -179,6 +179,7 @@
ctx->finfo.st_uid = ctx->r->finfo.user;
ctx->finfo.st_gid = ctx->r->finfo.group;
+ ctx->finfo.st_dev = ctx->r->finfo.device;
ctx->finfo.st_ino = ctx->r->finfo.inode;
#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
ctx->finfo.st_atime.tv_sec = ctx->r->finfo.atime/1000000;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28818&edit=1