From: Paul Eggert Date: Fri, 26 Jan 2007 23:02:40 +0000 (+0000) Subject: Adjust to recent gnulib changes. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5c890a600373a9aa5a74913c30eb92c5a1a4ce26;p=chaz%2Ftar Adjust to recent gnulib changes. * lib/.cvsignore: Add fchownat.c, rmt-command.h, strerror.c, string.h, string_.h, sys, sys_time_.h, unistd_.h, wchar_.h, wctype_.h. Remove localedir.h, size_max.h, xsize.h. * src/xheader.c: Don't include stpcpy.h; no longer needed, now that gnulib string.h defines stpcpy on all platforms. --- diff --git a/ChangeLog b/ChangeLog index 5ffb5af..22798a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-01-26 Paul Eggert + + Adjust to recent gnulib changes. + * lib/.cvsignore: Add fchownat.c, rmt-command.h, strerror.c, string.h, + string_.h, sys, sys_time_.h, unistd_.h, wchar_.h, wctype_.h. + Remove localedir.h, size_max.h, xsize.h. + * src/xheader.c: Don't include stpcpy.h; no longer needed, now that + gnulib string.h defines stpcpy on all platforms. + 2007-01-23 Sergey Poznyakoff * doc/tar.texi: Document --exclude-caches* and --exclude-tag* @@ -27,7 +36,7 @@ written. * configure.ac: Version 1.16.2 * NEWS: Update - + 2007-01-04 Sergey Poznyakoff * src/compare.c (diff_dumpdir): Compare directory contents using @@ -43,7 +52,7 @@ 2006-12-13 Sergey Poznyakoff * tests/T-null.at: Skip the test if genfile is not able to create - the filename with an embedded newline. + the filename with an embedded newline. 2006-12-12 Paul Eggert @@ -8113,31 +8122,28 @@ time_from_oct, uid_from_oct, uintmax_from_oct): New decls. (print_for_mkdir): 2nd arg is now mode_t. -See ChangeLog.1 for earlier changes. + ----- + + See ChangeLog.1 for earlier changes. + ----- - -Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 -Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. -This file is part of GNU tar. + This file is part of GNU tar. -GNU tar is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. + GNU tar is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. -GNU tar is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + GNU tar is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with GNU tar; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -Local Variables: -mode: change-log -version-control: never -End: + You should have received a copy of the GNU General Public License + along with GNU tar; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. diff --git a/lib/.cvsignore b/lib/.cvsignore index 04eb7c9..76d215c 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -52,6 +52,7 @@ exitfail.c exitfail.h fchmodat.c fchown-stub.c +fchownat.c fcntl--.h fcntl-safer.h fcntl.h @@ -99,7 +100,6 @@ lchown.c lchown.h localcharset.c localcharset.h -localedir.h lstat.c lstat.h malloc.c @@ -151,6 +151,7 @@ regex_internal.c regex_internal.h regexec.c rmdir.c +rmt-command.h rmt.h rpmatch.c rtapelib.c @@ -165,7 +166,6 @@ savedir.c savedir.h setenv.c setenv.h -size_max.h stat-macros.h stat-time.h stat_.h @@ -181,6 +181,9 @@ strchrnul.c strchrnul.h strdup.c strdup.h +strerror.c +string.h +string_.h stripslash.c strncasecmp.c strndup.c @@ -195,6 +198,8 @@ strtoll.c strtoul.c strtoull.c strtoumax.c +sys +sys_time_.h sysexit_.h sysexits.h system-ioctl.h @@ -208,6 +213,7 @@ uinttostr.c umaxtostr.c unistd--.h unistd-safer.h +unistd_.h unlinkdir.c unlinkdir.h unlocked-io.h @@ -222,13 +228,14 @@ version-etc.c version-etc.h vsnprintf.c vsnprintf.h +wchar_.h +wctype_.h wcwidth.h xalloc-die.c xalloc.h xgetcwd.c xgetcwd.h xmalloc.c -xsize.h xstrndup.c xstrndup.h xstrtol.c diff --git a/src/xheader.c b/src/xheader.c index 11b725e..ec63d35 100644 --- a/src/xheader.c +++ b/src/xheader.c @@ -1,6 +1,6 @@ /* POSIX extended headers for tar. - Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 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 @@ -22,7 +22,6 @@ #include #include #include -#include #include "common.h"