Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128671 Details for
Bug 179546
app-text/man2html - bzip support added
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for inclusion in the "files" directory of the ebuild
man2html-gentoo.patch (text/plain), 950 bytes, created by
Harvey Chapman
on 2007-08-20 12:39:54 UTC
(
hide
)
Description:
Patch for inclusion in the "files" directory of the ebuild
Filename:
MIME Type:
Creator:
Harvey Chapman
Created:
2007-08-20 12:39:54 UTC
Size:
950 bytes
patch
obsolete
>--- man-1.5l/man2html/scripts/cgi-bin/man/man2html 2007-05-23 12:56:23.000000000 -0400 >+++ man/man2html/scripts/cgi-bin/man/man2html 2007-05-23 13:06:10.000000000 -0400 >@@ -84,20 +84,29 @@ if [ x"$PAGE" = x ]; then > exit 0 > fi > >-if [ -r "$PAGE" ] >+if [ ! -r "$PAGE" ] > then >- case "$PAGE" in >- *.gz) >- zcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" >- ;; >- *) >- "$MAN2HTML" "$LL" "$PAGE" >- ;; >- esac >-elif [ -r "$PAGE".gz ] >-then >- zcat "$PAGE".gz | "$MAN2HTML" "$LL" -D "$PAGE" >-else >+ # If PAGE is not found, see if it is compressed >+ if [ -r "$PAGE".gz ] >+ then >+ PAGE="$PAGE".gz >+ elif [ -r "$PAGE".bz2 ] >+ then >+ PAGE="$PAGE".bz2 >+ else > "$MAN2HTML" -E "Strange... Cannot find (or read) $PAGE." >+ fi > fi >+ >+case "$PAGE" in >+*.bz2) >+ bzcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" >+ ;; >+*.gz) >+ zcat "$PAGE" | "$MAN2HTML" "$LL" -D "$PAGE" >+ ;; >+*) >+ "$MAN2HTML" "$LL" "$PAGE" >+ ;; >+esac > exit 0
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 179546
:
120104
| 128671 |
128673