Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368016 Details for
Bug 417657
app-arch/pigz-2.2.4: pigz -d signals an error for zero-padded files, deviating from gzip/bzip2/xz behaviour
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pigz-2.3.1-trailing-junk-exit-status.patch
pigz-2.3.1-trailing-junk-exit-status.patch (text/plain), 877 bytes, created by
Tim Harder
on 2014-01-17 15:57:09 UTC
(
hide
)
Description:
pigz-2.3.1-trailing-junk-exit-status.patch
Filename:
MIME Type:
Creator:
Tim Harder
Created:
2014-01-17 15:57:09 UTC
Size:
877 bytes
patch
obsolete
>From c3d877a0733c19be7df723ed37c042980c89d98e Mon Sep 17 00:00:00 2001 >From: Tim Harder <radhermit@gmail.com> >Date: Fri, 8 Nov 2013 15:20:08 -0800 >Subject: [PATCH] Don't return nonzero exit status when trailing junk is > encountered. > >This mirrors the behavior of gzip. >--- > pigz.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/pigz.c b/pigz.c >index df25cf3..ce0bff0 100644 >--- a/pigz.c >+++ b/pigz.c >@@ -3031,7 +3031,7 @@ local void infchk(void) > else if (was > 1 && get_header(0) != -5) > complain("entries after the first in %s were ignored", g.inf); > else if ((was == 0 && ret != -1) || (was == 1 && GET() != EOF)) >- complain("%s OK, has trailing junk which was ignored", g.inf); >+ fprintf(stderr, "%s OK, has trailing junk which was ignored\n", g.inf); > } > > /* --- decompress Unix compress (LZW) input --- */ >-- >1.8.5.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 417657
:
368012
| 368016