|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28818 missing ctx->finfo.st_dev
Submitted: 2004-06-17 14:27 UTC Modified: 2004-06-18 02:37 UTC
From: xuefer at 21cn dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.3.7 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: xuefer at 21cn dot com
New email:
PHP Version: OS:


 [2004-06-17 14:27 UTC] xuefer at 21cn dot com
affected pecl/apc

cvs diff: Diffing .
Index: sapi_apache2.c
RCS file: /repository/php-src/sapi/apache2handler/sapi_apache2.c,v
retrieving revision
diff -u -r1.1.2.30 sapi_apache2.c
--- sapi_apache2.c      16 Mar 2004 22:38:17 -0000
+++ 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->;
+       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;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-18 02:37 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Oct 30 07:01:24 2020 UTC