bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] minor adjustments for recent gnulib changes


From: Paul Eggert
Subject: [Bug-tar] minor adjustments for recent gnulib changes
Date: Sun, 16 Jul 2006 22:49:03 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed the following to accommodate recent gnulib changes.

2006-07-16  Paul Eggert  <address@hidden>

        Adjust to recent gnulib changes.
        * lib/.cvsignore: Remove atexit.c, exit.c, getndelim2.c, getndelim2.h,
        pathmax.h, paxconvert.c, paxerror.h, xstrdup.c.
        Add inttypes.h, mktime.c, wcwidth.h, xstrndup.c, xstrndup.h.
        * src/create.c (start_header): Adjust to API change to mode_adjust.

Index: lib/.cvsignore
===================================================================
RCS file: /cvsroot/tar/tar/lib/.cvsignore,v
retrieving revision 1.36
diff -p -u -r1.36 .cvsignore
--- lib/.cvsignore      9 Jun 2006 13:55:36 -0000       1.36
+++ lib/.cvsignore      17 Jul 2006 05:45:08 -0000
@@ -26,7 +26,6 @@ argp-pvh.c
 argp-xinl.c
 argp.h
 asnprintf.c
-atexit.c
 backupfile.c
 backupfile.h
 basename.c
@@ -45,7 +44,6 @@ error.c
 error.h
 exclude.c
 exclude.h
-exit.c
 exit.h
 exitfail.c
 exitfail.h
@@ -70,8 +68,6 @@ getdelim.c
 getdelim.h
 getline.c
 getline.h
-getndelim2.c
-getndelim2.h
 getopt.c
 getopt.h
 getopt1.c
@@ -89,6 +85,7 @@ imaxtostr.c
 intprops.h
 inttostr.c
 inttostr.h
+inttypes.h
 lchown.c
 lchown.h
 localcharset.c
@@ -108,6 +105,7 @@ minmax.h
 mkdirat.c
 mkdtemp.c
 mkdtemp.h
+mktime.c
 modechange.c
 modechange.h
 obstack.c
@@ -118,10 +116,7 @@ openat-die.c
 openat-priv.h
 openat.c
 openat.h
-pathmax.h
-paxconvert.c
 paxerror.c
-paxerror.h
 paxexit.c
 paxlib.h
 paxnames.c
@@ -210,13 +205,15 @@ version-etc.c
 version-etc.h
 vsnprintf.c
 vsnprintf.h
+wcwidth.h
 xalloc-die.c
 xalloc.h
 xgetcwd.c
 xgetcwd.h
 xmalloc.c
 xsize.h
-xstrdup.c
+xstrndup.c
+xstrndup.h
 xstrtol.c
 xstrtol.h
 xstrtoul.c
Index: src/create.c
===================================================================
RCS file: /cvsroot/tar/tar/src/create.c,v
retrieving revision 1.117
diff -p -u -r1.117 create.c
--- src/create.c        25 Jun 2006 12:45:57 -0000      1.117
+++ src/create.c        17 Jul 2006 05:45:08 -0000
@@ -663,7 +663,8 @@ start_header (struct tar_stat_info *st)
   if (mode_option)
     st->stat.st_mode =
       ((st->stat.st_mode & ~MODE_ALL)
-       | mode_adjust (st->stat.st_mode, mode_option, initial_umask));
+       | mode_adjust (st->stat.st_mode, S_ISDIR (st->stat.st_mode) != 0,
+                     initial_umask, mode_option, NULL));
 
   /* Paul Eggert tried the trivial test ($WRITER cf a b; $READER tvf a)
      for a few tars and came up with the following interoperability




reply via email to

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