From cfbf5b24b7d3800a8e4f683011eb132321b8f0c2 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 18 Jun 2004 00:36:58 +0000 Subject: Fixed bug #28818 (Apache 2 sapis do not export st_dev). --- sapi/apache2filter/sapi_apache2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sapi/apache2filter') 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; -- cgit v1.2.1