From 2dd21704d63c4e7567695a9e43dc1631b930efe2 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 17 Sep 2010 15:54:59 -0600 Subject: maint: update to latest gnulib * gnulib: Update to latest. * src/copy.c (copy_reg): Use fdutimens instead of gl_futimens. * src/touch.c (touch): Adjust parameter order. * tests/init.sh: Resync from upstream. --- src/copy.c | 2 +- src/touch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/copy.c b/src/copy.c index 6d11ed868..df31592db 100644 --- a/src/copy.c +++ b/src/copy.c @@ -803,7 +803,7 @@ copy_reg (char const *src_name, char const *dst_name, timespec[0] = get_stat_atime (src_sb); timespec[1] = get_stat_mtime (src_sb); - if (gl_futimens (dest_desc, dst_name, timespec) != 0) + if (fdutimens (dest_desc, dst_name, timespec) != 0) { error (0, errno, _("preserving times for %s"), quote (dst_name)); if (x->require_preserve) diff --git a/src/touch.c b/src/touch.c index 290f74300..6358b893c 100644 --- a/src/touch.c +++ b/src/touch.c @@ -163,7 +163,7 @@ touch (const char *file) t = NULL; } - ok = (fdutimensat (AT_FDCWD, (fd == STDOUT_FILENO ? NULL : file), fd, t, + ok = (fdutimensat (fd, AT_FDCWD, (fd == STDOUT_FILENO ? NULL : file), t, (no_dereference && fd == -1) ? AT_SYMLINK_NOFOLLOW : 0) == 0); -- cgit v1.2.3-70-g09d2