]> code.ossystems Code Review - openembedded-core.git/commitdiff
pseudo: fix uninitialised variable in realpath_fix.patch
authorJoshua Lock <josh@linux.intel.com>
Tue, 19 Jul 2011 20:26:20 +0000 (13:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2011 14:25:02 +0000 (15:25 +0100)
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>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/recipes-devtools/pseudo/pseudo/realpath_fix.patch
meta/recipes-devtools/pseudo/pseudo_1.1.1.bb

index 7beea519c5bab59f1f105e7af6d1dfab7777547b..4a107e006c85c602ae960d531f4a8f1eb2c8e4e5 100644 (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 */
index f1c8e63714888c49c73eed53197f86d8808b9283..0a61aecf19907f268b6d31869e8618b5b9e97829 100644 (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 \