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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
11 + 17 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 15:01:30 2024 UTC