diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2007-10-17 03:35:55 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2007-10-17 03:35:55 +0000 |
commit | faa9e0c882247b426115c119b539ef1d670f7723 (patch) | |
tree | 2751e1d3baacef9b1523b90097e1b60d4905891d /file_io | |
parent | 43798f00714b22dc2d27b5add566501a089597ef (diff) | |
download | apr-faa9e0c882247b426115c119b539ef1d670f7723.tar.gz |
Pick up AIX 5.2 onwards
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585348 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/unix/filestat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/file_io/unix/filestat.c b/file_io/unix/filestat.c index 63dbf4d90..9bee65112 100644 --- a/file_io/unix/filestat.c +++ b/file_io/unix/filestat.c @@ -94,6 +94,8 @@ static void fill_out_finfo(apr_finfo_t *finfo, struct_stat *info, 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 @@ static void fill_out_finfo(apr_finfo_t *finfo, struct_stat *info, 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 @@ static void fill_out_finfo(apr_finfo_t *finfo, struct_stat *info, 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 |