summaryrefslogtreecommitdiff
path: root/file_io/os2/filestat.c
diff options
context:
space:
mode:
authorsussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2003-07-08 16:03:37 +0000
committersussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2003-07-08 16:03:37 +0000
commitcdb1cc0907900a44242b27d2b99474e0d0e1d8ba (patch)
treeb27a85dc4db0dc1778dc596888dbda4e19d8ca58 /file_io/os2/filestat.c
parent7dcd99e6721a196527b774f8228e82b7704106c3 (diff)
downloadlibapr-cdb1cc0907900a44242b27d2b99474e0d0e1d8ba.tar.gz
Finish the new timestamp-setting API, thanks to helpful tips from
Brane and Cliff. Hopefully this will go out in httpd-2.0.48, and then subversion can make use of it. * configure.in: use AC_CHECK_FUNCS to look for utimes() and utime(). * file_io/unix/filestat.c (apr_file_mtime_set): use the new constants. * file_io/netware/filestat.c (apr_file_mtime_set): add dummy placeholder. * file_io/os2/filestat.c (apr_file_mtime_set): add dummy placeholder. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/filestat.c')
-rw-r--r--file_io/os2/filestat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/file_io/os2/filestat.c b/file_io/os2/filestat.c
index 747f6e9ce..f1c77ce36 100644
--- a/file_io/os2/filestat.c
+++ b/file_io/os2/filestat.c
@@ -255,3 +255,12 @@ APR_DECLARE(apr_status_t) apr_file_attrs_set(const char *fname,
return APR_FROM_OS_ERROR(rc);
}
+
+
+/* ### Somebody please write this! */
+APR_DECLARE(apr_status_t) apr_file_mtime_set(const char *fname,
+ apr_time_t mtime,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}