Просмотр исходного кода

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.

Paul Eggert 18 лет назад
Родитель
Сommit
5c890a6003
3 измененных файлов с 41 добавлено и 29 удалено
  1. 30 24
      ChangeLog
  2. 10 3
      lib/.cvsignore
  3. 1 2
      src/xheader.c

+ 30 - 24
ChangeLog

@@ -1,3 +1,12 @@
+2007-01-26  Paul Eggert  <[email protected]>
+
+	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  <[email protected]>
 
 	* 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  <[email protected]>
 
 	* src/compare.c (diff_dumpdir): Compare directory contents using
@@ -43,7 +52,7 @@
 2006-12-13  Sergey Poznyakoff  <[email protected]>
 
 	* 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  <[email protected]>
 
@@ -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.

+ 10 - 3
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

+ 1 - 2
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 <hash.h>
 #include <inttostr.h>
 #include <quotearg.h>
-#include <stpcpy.h>
 
 #include "common.h"