bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] tar patch to accommodate gnulib string.h changes


From: Paul Eggert
Subject: [Bug-tar] tar patch to accommodate gnulib string.h changes
Date: Fri, 26 Jan 2007 15:04:09 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this so that 'tar' would work with today's changes to
gnulib regarding string.h.

2007-01-26  Paul Eggert  <address@hidden>

        Adjust to recent gnulib changes.
        * src/xheader.c: Don't include stpcpy.h; no longer needed, now that
        gnulib string.h defines stpcpy on all platforms.
        * 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.

Index: src/xheader.c
===================================================================
RCS file: /cvsroot/tar/tar/src/xheader.c,v
retrieving revision 1.50
diff -p -u -r1.50 xheader.c
--- src/xheader.c       12 Dec 2006 23:56:24 -0000      1.50
+++ src/xheader.c       26 Jan 2007 23:01:53 -0000
@@ -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"
 
Index: lib/.cvsignore
===================================================================
RCS file: /cvsroot/tar/tar/lib/.cvsignore,v
retrieving revision 1.41
diff -p -u -r1.41 .cvsignore
--- lib/.cvsignore      30 Nov 2006 06:27:24 -0000      1.41
+++ lib/.cvsignore      26 Jan 2007 23:01:53 -0000
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]