apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r585348 - in /apr/apr/trunk: configure.in file_io/unix/filestat.c
Date Wed, 17 Oct 2007 03:35:59 GMT
Author: wrowe
Date: Tue Oct 16 20:35:55 2007
New Revision: 585348

URL: http://svn.apache.org/viewvc?rev=585348&view=rev
Log:
Pick up AIX 5.2 onwards

Modified:
    apr/apr/trunk/configure.in
    apr/apr/trunk/file_io/unix/filestat.c

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=585348&r1=585347&r2=585348&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Tue Oct 16 20:35:55 2007
@@ -1955,7 +1955,8 @@
 echo "${nl}Checking for File Info Support..."
 AC_CHECK_MEMBERS([struct stat.st_blocks, struct stat.st_atimensec,
 struct stat.st_ctimensec, struct stat.st_mtimensec, struct stat.st_atim.tv_nsec,
-struct stat.st_ctim.tv_nsec, struct stat.st_mtim.tv_nsec],,,[
+struct stat.st_ctim.tv_nsec, struct stat.st_mtim.tv_nsec,
+struct stat.st_atime_n, struct stat.st_ctime_n, struct stat.st_mtime_n],,,[
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif

Modified: apr/apr/trunk/file_io/unix/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/filestat.c?rev=585348&r1=585347&r2=585348&view=diff
==============================================================================
--- apr/apr/trunk/file_io/unix/filestat.c (original)
+++ apr/apr/trunk/file_io/unix/filestat.c Tue Oct 16 20:35:55 2007
@@ -94,6 +94,8 @@
     finfo->atime += info->st_atim.tv_nsec / APR_TIME_C(1000);
 #elif defined(HAVE_STRUCT_STAT_ST_ATIMENSEC)
     finfo->atime += info->st_atimensec / APR_TIME_C(1000);
+#elif defined(HAVE_STRUCT_STAT_ST_ATIME_N)
+    finfo->ctime += info->st_atime_n / APR_TIME_C(1000);
 #endif
 
     apr_time_ansi_put(&finfo->mtime, info->st_mtime);
@@ -101,6 +103,8 @@
     finfo->mtime += info->st_mtim.tv_nsec / APR_TIME_C(1000);
 #elif defined(HAVE_STRUCT_STAT_ST_MTIMENSEC)
     finfo->mtime += info->st_mtimensec / APR_TIME_C(1000);
+#elif defined(HAVE_STRUCT_STAT_ST_MTIME_N)
+    finfo->ctime += info->st_mtime_n / APR_TIME_C(1000);
 #endif
 
     apr_time_ansi_put(&finfo->ctime, info->st_ctime);
@@ -108,6 +112,8 @@
     finfo->ctime += info->st_ctim.tv_nsec / APR_TIME_C(1000);
 #elif defined(HAVE_STRUCT_STAT_ST_CTIMENSEC)
     finfo->ctime += info->st_ctimensec / APR_TIME_C(1000);
+#elif defined(HAVE_STRUCT_STAT_ST_CTIME_N)
+    finfo->ctime += info->st_ctime_n / APR_TIME_C(1000);
 #endif
 
 #ifdef HAVE_STRUCT_STAT_ST_BLOCKS



Mime
View raw message