Browse Source

* src/misc.c (set_file_atime): Use gl_futimens, not futimens,
due to gnulib change.

SCALAR(0x828a248)

SCALAR(0x828a404)

Paul Eggert 18 years ago
parent
commit
12b3a5d5b1
2 changed files with 9 additions and 4 deletions
  1. 7 2
      ChangeLog
  2. 2 2
      src/misc.c

+ 7 - 2
ChangeLog

@@ -1,3 +1,8 @@
+2007-05-29  Paul Eggert  <[email protected]>
+
+	* src/misc.c (set_file_atime): Use gl_futimens, not futimens,
+	due to gnulib change.
+
 2007-05-19  Sergey Poznyakoff  <[email protected]>
 
 	* src/common.h (buffer_write_global_xheader): New function
@@ -16,7 +21,7 @@
 	(xheader_write_global,xheader_write,xheader_string_begin)
 	(xheader_string_add,xheader_string_end): Take xhdr as first
 	argument.
-	
+
 	* src/buffer.c (buffer_write_global_xheader): New function
 	Update to use new xheader calls.
 
@@ -27,7 +32,7 @@
 	* tests/T-null.at: Minor fix
 	* tests/atlocal.in (tarball_prereq): Discard eventual md5sum
 	output.
-	
+
 2007-05-18  Sergey Poznyakoff  <[email protected]>
 
 	* src/create.c (dump_file0): Original ctime cannot be used as a

+ 2 - 2
src/misc.c

@@ -1,7 +1,7 @@
 /* Miscellaneous functions, not really specific to GNU tar.
 
    Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2001,
-   2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 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 the
@@ -516,7 +516,7 @@ set_file_atime (int fd, char const *file, struct timespec const timespec[2])
     }
 #endif
 
-  return futimens (fd, file, timespec);
+  return gl_futimens (fd, file, timespec);
 }
 
 /* A description of a working directory.  */