pseudo: fix uninitialised variable in realpath_fix.patch

Several users reported issues with pseudo on CentOS 5.x hosts, Matthew
McClintock tracked the issue to the realpath_fix.patch and Mark Hatle
supplied the included fix.

CC: Matthew McClintock <msm@freescale.com>
CC: Mark Hatle <mark.hatle@windriver.com>

(From OE-Core rev: 46b2bc1d4694f927bc3d6c108309615a4903cede)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock 2011-07-19 13:26:20 -07:00 committed by Richard Purdie
parent 73bc4c2211
commit 5fdc8ab37e
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ index 600a918..07a4429 100644
+static void
+pseudo_init_one_wrapper(pseudo_function *func) {
+ int (*f)(void);
+ int (*f)(void) = (int (*)(void)) NULL;
+ char *e;
+ if (*func->real != NULL) {
+ /* already initialized */

View File

@ -1,6 +1,6 @@
require pseudo.inc
PR = "r1"
PR = "r2"
SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
file://oe-config.patch \