Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 5160 Details for
Bug 9870
Change portage to bzip2 man and info pages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
texinfo-4.2-bz2.patch
texinfo-4.2-bz2.patch (text/plain), 1.17 KB, created by
Cory Visi (RETIRED)
on 2002-10-29 00:40:03 UTC
(
hide
)
Description:
texinfo-4.2-bz2.patch
Filename:
MIME Type:
Creator:
Cory Visi (RETIRED)
Created:
2002-10-29 00:40:03 UTC
Size:
1.17 KB
patch
obsolete
>--- util/install-info.c.orig 2002-03-11 14:55:23.000000000 -0500 >+++ util/install-info.c 2002-10-28 17:25:40.000000000 -0500 >@@ -311,6 +311,11 @@ > len -= 3; > ret[len] = 0; > } >+ else if (len > 4 && FILENAME_CMP (ret + len - 4, ".bz2") == 0) >+ { >+ len -= 4; >+ ret[len] = 0; >+ } > > if (len > 5 && FILENAME_CMP (ret + len - 5, ".info") == 0) > { >@@ -508,6 +513,13 @@ > { > *opened_filename = concat (filename, ".gz", ""); > f = fopen (*opened_filename, FOPEN_RBIN); >+ if (!f) >+ { >+ free (*opened_filename); >+ *opened_filename = concat (filename, ".bz2", ""); >+ f = fopen (*opened_filename, FOPEN_RBIN); >+ } >+ > #ifdef __MSDOS__ > if (!f) > { >@@ -563,6 +575,18 @@ > #else > *compression_program = "gzip"; > #endif >+ else if(data[0] == 'B' && data[1] == 'Z' && data[2] == 'h') >+#ifndef STRIP_DOT_EXE >+ *compression_program = "bzip2.exe"; >+#else >+ *compression_program = "bzip2"; >+#endif >+ else if(data[0] == 'B' && data[1] == 'Z' && data[2] == '0') >+#ifndef STRIP_DOT_EXE >+ *compression_program = "bzip.exe"; >+#else >+ *compression_program = "bzip"; >+#endif > else > *compression_program = NULL; >
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 Raw
Actions:
View
Attachments on
bug 9870
:
5159
|
5160
|
5161
|
80497
|
80498
|
106466