summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2010-09-02 16:39:48 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-09-08 16:36:53 -0700
commit3f71edc3ef4672ea2bbe3d2f604ada121b3870ab (patch)
treeee8ed865b71f8c85b87e3ef7aa404b25cfcb6aef /meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch
parente3f492603ef0bfef8e993157e9d9cb661ac9851a (diff)
downloadpoky-3f71edc3ef4672ea2bbe3d2f604ada121b3870ab.tar.gz
man: Add new man package
A set of documentation tools: man, apropos and whatis Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch')
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch b/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch
new file mode 100644
index 0000000000..da95d5ad18
--- /dev/null
+++ b/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch
@@ -0,0 +1,11 @@
1--- src/man.c 2008-12-21 19:17:31.000000000 +0100
2+++ src/man.c.oden 2008-12-21 19:17:38.000000000 +0100
3@@ -391,7 +391,7 @@ again:
4 beg++;
5
6 end = beg;
7- while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0')
8+ while (*end != ' ' && *end != '\t' && *end != '\n' && *end != '\0' && (end-buf)<BUFSIZE)
9 end++; /* note that buf is NUL-terminated */
10 *end = '\0';
11