diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-02-12 13:05:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-24 10:31:45 +0000 |
commit | d9046f8fd88108b006bf0615d56a826552b986a2 (patch) | |
tree | 901b562535c7e18fe857481def7f6ff8a06354ea /meta/recipes-extended/man/man/man-1.5i2-overflow.patch | |
parent | c2f4f93da24515b3f1e5fdb2c54a1b70d24b0e63 (diff) | |
download | poky-d9046f8fd88108b006bf0615d56a826552b986a2.tar.gz |
man-db: replace the outdated man implementation
Until now oe-core has been using a well obsolete implementation of man.
Man-db on the other hand is used by all modern Linux distros, is actively
maintained, has a standard build system, and does not require 30 patches
to build.
(From OE-Core rev: 69e549a841a1681f927667f5017a1cd669ac9914)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/man/man/man-1.5i2-overflow.patch')
-rw-r--r-- | meta/recipes-extended/man/man/man-1.5i2-overflow.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/recipes-extended/man/man/man-1.5i2-overflow.patch b/meta/recipes-extended/man/man/man-1.5i2-overflow.patch deleted file mode 100644 index 52d2881a89..0000000000 --- a/meta/recipes-extended/man/man/man-1.5i2-overflow.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
4 | |||
5 | --- man-1.5i2/src/man.c.overflow Mon Jun 25 00:01:45 2001 | ||
6 | +++ man-1.5i2/src/man.c Mon Jun 25 00:01:45 2001 | ||
7 | @@ -381,6 +381,9 @@ | ||
8 | strcat(name, "/"); | ||
9 | strcat(name, beg); | ||
10 | } | ||
11 | + /* If this is too long, bad things have already happened. * | ||
12 | + * we should quit IMMEDIATELY. */ | ||
13 | + if(strlen(name)>sizeof(ultname)) _exit(1); | ||
14 | |||
15 | goto again; | ||
16 | } | ||