From: Paul Eggert Date: Tue, 29 May 2007 16:48:23 +0000 (+0000) Subject: * src/misc.c (set_file_atime): Use gl_futimens, not futimens, X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=12b3a5d5b194b7b169bbbf0fa069c2c72f5cd274;p=chaz%2Ftar * src/misc.c (set_file_atime): Use gl_futimens, not futimens, due to gnulib change. SCALAR(0x828a248) SCALAR(0x828a404) --- diff --git a/ChangeLog b/ChangeLog index a71ef69..8e31c7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-29 Paul Eggert + + * src/misc.c (set_file_atime): Use gl_futimens, not futimens, + due to gnulib change. + 2007-05-19 Sergey Poznyakoff * 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 * src/create.c (dump_file0): Original ctime cannot be used as a diff --git a/src/misc.c b/src/misc.c index ba7ed05..a886b06 100644 --- a/src/misc.c +++ b/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. */