OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   31-Jan-2005 21:37:23
  Branch: HEAD                             Handle: 2005013120372300

  Modified files:
    openpkg-src/tar         tar.patch tar.spec

  Log:
    apply three bugfixes from the vendor

  Summary:
    Revision    Changes     Path
    1.10        +38 -2      openpkg-src/tar/tar.patch
    1.47        +1  -1      openpkg-src/tar/tar.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tar/tar.patch
  ============================================================================
  $ cvs diff -u -r1.9 -r1.10 tar.patch
  --- openpkg-src/tar/tar.patch 22 Dec 2004 07:40:34 -0000      1.9
  +++ openpkg-src/tar/tar.patch 31 Jan 2005 20:37:23 -0000      1.10
  @@ -46,8 +46,8 @@
    #ifndef EXIT_FAILURE
    # define EXIT_FAILURE 1
   Index: src/tar.c
  ---- src/tar.c.orig   2004-12-18 21:01:07 +0100
  -+++ src/tar.c        2004-12-20 20:01:54 +0100
  +--- src/tar.c.orig   2004-12-21 15:11:26 +0100
  ++++ src/tar.c        2005-01-31 21:34:57 +0100
   @@ -20,6 +20,7 @@
       59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    
  @@ -56,3 +56,39 @@
    
    #include <fnmatch.h>
    #include <argp.h>
  +@@ -617,9 +618,9 @@
  +   
  +   switch (key)
  +     {
  +-      case 1:
  ++      case ARGP_KEY_ARG:
  +     /* File name or non-parsed option, because of ARGP_IN_ORDER */
  +-    name_add (optarg);
  ++    name_add (arg);
  +     args->input_files++;
  +     break;
  + 
  +Index: src/compare.c
  +--- src/compare.c.orig       2004-09-06 13:30:29 +0200
  ++++ src/compare.c    2005-01-31 21:34:57 +0100
  +@@ -327,7 +327,7 @@
  +     size_t len = strlen (current_stat_info.link_name);
  +     char *linkbuf = alloca (len + 1);
  + 
  +-    status = readlink (current_stat_info.file_name, linkbuf, len + 1);
  ++    status = readlink (current_stat_info.file_name, linkbuf, len);
  + 
  +     if (status < 0)
  +       {
  +Index: src/create.c
  +--- src/create.c.orig        2004-10-04 11:21:31 +0200
  ++++ src/create.c     2005-01-31 21:34:57 +0100
  +@@ -1482,7 +1482,7 @@
  +       if (linklen != st->stat.st_size || linklen + 1 == 0)
  +         xalloc_die ();
  +       buffer = (char *) alloca (linklen + 1);
  +-      size = readlink (p, buffer, linklen + 1);
  ++      size = readlink (p, buffer, linklen);
  +       if (size < 0)
  +         {
  +           readlink_diag (p);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/tar/tar.spec
  ============================================================================
  $ cvs diff -u -r1.46 -r1.47 tar.spec
  --- openpkg-src/tar/tar.spec  1 Jan 2005 10:55:09 -0000       1.46
  +++ openpkg-src/tar/tar.spec  31 Jan 2005 20:37:23 -0000      1.47
  @@ -34,7 +34,7 @@
   Group:        Archiver
   License:      GPL
   Version:      1.15.1
  -Release:      20041222
  +Release:      20050131
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/tar/tar-%{version}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to