From: Ilia Alshanetsky Date: Fri, 18 Jun 2004 00:36:58 +0000 (+0000) Subject: Fixed bug #28818 (Apache 2 sapis do not export st_dev). X-Git-Tag: php-5.0.0~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfbf5b24b7d3800a8e4f683011eb132321b8f0c2;p=php Fixed bug #28818 (Apache 2 sapis do not export st_dev). --- diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 987be43e9c..d9eee97493 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -171,6 +171,7 @@ php_apache_sapi_get_stat(TSRMLS_D) 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; diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index ebcb625613..0bc5f15bc8 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -181,6 +181,7 @@ php_apache_sapi_get_stat(TSRMLS_D) 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;