FreeBSD Bugzilla – Attachment 155641 Details for
Bug 199443
bzip never closes stdin/stdout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
My version of patch
bzip2.patch (text/plain), 1.37 KB, created by
Dmitry Marakasov
on 2015-04-16 10:32:05 UTC
(
hide
)
Description:
My version of patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-04-16 10:32:05 UTC
Size:
1.37 KB
patch
obsolete
>Index: contrib/bzip2/bzip2.c >=================================================================== >--- contrib/bzip2/bzip2.c (revision 274966) >+++ contrib/bzip2/bzip2.c (working copy) >@@ -1890,7 +1890,9 @@ > case '8': blockSize100k = 8; break; > case '9': blockSize100k = 9; break; > case 'V': >- case 'L': license(); break; >+ case 'L': license(); >+ exit ( 0 ); >+ break; > case 'v': verbosity++; break; > case 'h': usage ( progName ); > exit ( 0 ); >@@ -1916,8 +1918,8 @@ > if (ISFLAG("--keep")) keepInputFiles = True; else > if (ISFLAG("--small")) smallMode = True; else > if (ISFLAG("--quiet")) noisy = False; else >- if (ISFLAG("--version")) license(); else >- if (ISFLAG("--license")) license(); else >+ if (ISFLAG("--version")) { license(); exit ( 0 ); } else >+ if (ISFLAG("--license")) { license(); exit ( 0 ); } else > if (ISFLAG("--exponential")) workFactor = 1; else > if (ISFLAG("--repetitive-best")) redundant(aa->name); else > if (ISFLAG("--repetitive-fast")) redundant(aa->name); else
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 199443
:
155588
| 155641