php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2004-06-17 14:27 UTC] 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;



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-18 02:37 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC