diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-06-09 08:38:46 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-10 21:40:43 +0200 |
commit | 64835258f7687b69d1046d035bf32aef12b26c28 (patch) | |
tree | 6161e588900925ca43547e5969edf90198611b75 /package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch | |
parent | 1bc8d2a21ae99eb41e383f3bf3d8553813066093 (diff) |
busybox 1.20.1: add patches for ash, ifupdown, man and tar
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch')
-rw-r--r-- | package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch b/package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch new file mode 100644 index 000000000..f382e078f --- /dev/null +++ b/package/busybox/busybox-1.20.1/busybox-1.20.1-man.patch @@ -0,0 +1,34 @@ +--- busybox-1.20.1/miscutils/man.c ++++ busybox-1.20.1-man/miscutils/man.c +@@ -129,27 +129,21 @@ static int show_manpage(const char *page + #endif + #if ENABLE_FEATURE_SEAMLESS_XZ + strcpy(ext, "xz"); +- if (run_pipe(pager, man_filename, man, level)) ++ if (run_pipe(pager, filename_with_zext, man, level)) + return 1; + #endif + #if ENABLE_FEATURE_SEAMLESS_BZ2 + strcpy(ext, "bz2"); +- if (run_pipe(pager, man_filename, man, level)) ++ if (run_pipe(pager, filename_with_zext, man, level)) + return 1; + #endif + #if ENABLE_FEATURE_SEAMLESS_GZ + strcpy(ext, "gz"); +- if (run_pipe(pager, man_filename, man, level)) ++ if (run_pipe(pager, filename_with_zext, man, level)) + return 1; + #endif + +-#if SEAMLESS_COMPRESSION +- ext[-1] = '\0'; +-#endif +- if (run_pipe(pager, man_filename, man, level)) +- return 1; +- +- return 0; ++ return run_pipe(pager, man_filename, man, level); + } + + int man_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |