diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-09 18:36:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-09 18:36:27 +0000 |
commit | 67c22b0af278f61fb2d6ec27941b1ca0b9944008 (patch) | |
tree | 3957be34a19b2ba21eecba4aa5f5121fa2721762 | |
parent | 3be772cf1e1fae78f4857ad3106c3500be82c4cc (diff) | |
download | coreutils-67c22b0af278f61fb2d6ec27941b1ca0b9944008.tar.xz |
*** empty log message ***
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/utimens.m4 | 15 |
4 files changed, 39 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2003-08-06 Paul Eggert <eggert@twinsun.com> + + * NEWS: Add support for setting file timestamps to microsecond + resolution, on hosts that support this. + * src/copy.c, src/cp.c, src/install.c, src/touch.c: Include utimens.h. + * src/copy.c (copy_internal): + Set file timestamps with utimens, not utime. + * src/cp.c (re_protect): Likewise. + * src/install.c (change_timestamps): Likewise. + * src/touch.c (newtime, touch, main): Likewise. + 2003-08-09 Jim Meyering <jim@meyering.net> * Version 5.0.91. @@ -7,10 +7,18 @@ GNU coreutils NEWS -*- outline -*- split accepts a new option -d or --numeric-suffixes. + cp, install, mv, and touch now preserve microsecond resolution on + file timestamps, on platforms that have the 'utimes' system call. + Unfortunately there is no system call yet to preserve file + timestamps to their full nanosecond resolution; microsecond + resolution is the best we can do right now. + ** Bug fixes `split -a0' works once again. + `df DIR' used to hang under some conditions on OSF/1 5.1. Now it doesn't. + * Major changes in release 5.0.90: diff --git a/m4/ChangeLog b/m4/ChangeLog index 3d91317cd..d56535bdc 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2003-08-06 Paul Eggert <eggert@twinsun.com> + + * prereq.m4 (jm_PREREQ): Require gl_UTIMENS. + * utimens.m4: New file. + 2003-08-08 Paul Eggert <eggert@twinsun.com> * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): diff --git a/m4/utimens.m4 b/m4/utimens.m4 new file mode 100644 index 000000000..154999505 --- /dev/null +++ b/m4/utimens.m4 @@ -0,0 +1,15 @@ +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +AC_DEFUN([gl_UTIMENS], +[ + dnl Prerequisites of lib/utimens.c. + AC_REQUIRE([gl_TIMESPEC]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_TIMESPEC]) + AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF]) + AC_CHECK_FUNCS_ONCE(utime) +]) |