Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 524624 Details for
Bug 651038
sys-apps/man-1.6g-r1 - man-1.6g-echo-escape.patch corrupts output in pager
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix nonportable echo properly
nonportable-echo.patch (text/plain), 607 bytes, created by
Nick Bowler
on 2018-03-20 21:52:57 UTC
(
hide
)
Description:
fix nonportable echo properly
Filename:
MIME Type:
Creator:
Nick Bowler
Created:
2018-03-20 21:52:57 UTC
Size:
607 bytes
patch
obsolete
>diff --git a/src/man.c b/src/man.c >index 62eaee4a0fed..3d4a8d0bcbcf 100644 >--- a/src/man.c >+++ b/src/man.c >@@ -616,7 +616,7 @@ make_roff_command (const char *path, const char *file) { > the current position plus 10 lines. This plus setpl() > gives us a single page that just contains the whole > man page. (William Webber, wew@cs.rmit.edu.au) */ >- strcat(buft, "; echo \".\\\\\\\"\"; echo \".pl \\n(nlu+10\""); >+ strcat(buft, "; printf '%s\\n' \".\\\\\\\"\" \".pl \\n(nlu+10\""); > #if 0 > /* In case this doesnt work for some reason, > michaelkjohnson suggests: I've got a simple
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 651038
: 524624