* src/copy.c (copy_reg): Reflect renaming: futimens -> gl_futimens.
* src/touch.c (touch): Likewise.
+2007-05-19 Jim Meyering <jim@meyering.net>
+
+ Rename uses of futimens -> gl_futimens; glibc now declares the former.
+ * src/copy.c (copy_reg): Reflect renaming: futimens -> gl_futimens.
+ * src/touch.c (touch): Likewise.
+
2007-05-18 Jim Meyering <jim@meyering.net>
* Makefile.maint (my-distcheck): Remove -pedantic from $(CFLAGS)
timespec[0] = get_stat_atime (src_sb);
timespec[1] = get_stat_mtime (src_sb);
- if (futimens (dest_desc, dst_name, timespec) != 0)
+ if (gl_futimens (dest_desc, dst_name, timespec) != 0)
{
error (0, errno, _("preserving times for %s"), quote (dst_name));
if (x->require_preserve)
/* touch -- change modification and access times of files
- Copyright (C) 87, 1989-1991, 1995-2005 Free Software Foundation, Inc.
+ Copyright (C) 87, 1989-1991, 1995-2005, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
t = timespec;
}
- ok = (futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0);
+ ok = (gl_futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0);
if (fd == STDIN_FILENO)
{