[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Re: [tar-1.15.x] output format seems to be different from tar-
From: |
TAMUKI Shoichi |
Subject: |
[Bug-tar] Re: [tar-1.15.x] output format seems to be different from tar-1.14 |
Date: |
Fri, 21 Jul 2006 21:34:07 +0900 |
Hello Sergey,
Thank you for your quick response.
From: "Sergey Poznyakoff" <address@hidden>
Subject: Re: [Bug-tar] [tar-1.15.x] output format seems to be different from
tar-1.14
Date: Fri, 21 Jul 2006 12:31:21 +0300
> Please try the following patch:
>
> Index: create.c
> ===================================================================
> RCS file: /cvsroot/tar/tar/src/create.c,v
> retrieving revision 1.118
> diff -p -u -r1.118 create.c
> --- create.c 17 Jul 2006 05:47:26 -0000 1.118
> +++ create.c 21 Jul 2006 09:30:25 -0000
> @@ -291,7 +296,8 @@ mode_to_chars (mode_t v, char *p, size_t
> && S_IROTH == TOREAD && S_IWOTH == TOWRITE && S_IXOTH == TOEXEC
> && archive_format != POSIX_FORMAT
> && archive_format != USTAR_FORMAT
> - && archive_format != GNU_FORMAT)
> + && archive_format != GNU_FORMAT
> + && archive_format != OLDGNU_FORMAT)
> {
> negative = v < 0;
> u = v;
I applied the patch into tar-1.15.91 and confirmed the problem has
been fixed.
Regards,
TAMUKI Shoichi