1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

pseudo: Revert msg cache changes

The message cache code in pseudo seems to be causing problems.  So we have
finally decided to revert that optimization.

(The revert is in the upstream pseudo.)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
Mark Hatle
2011-01-24 19:23:14 -06:00
committed by Richard Purdie
parent c0e1272d15
commit 3b37116728
3 changed files with 2 additions and 23 deletions
@@ -1,20 +0,0 @@
The cached data values were being collected when an OP_EXEC call was made.
This is incorrect as the values are only for logging purposes. It's believed
this caused an occasional crash in certain instances.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
diff --git a/pseudo.c b/pseudo.c
index efee436..62f28f3 100644
--- a/pseudo.c
+++ b/pseudo.c
@@ -1021,7 +1021,8 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
if (msg->op != OP_MAY_UNLINK &&
msg->op != OP_DID_UNLINK &&
msg->op != OP_CANCEL_UNLINK &&
- msg->op != OP_UNLINK) {
+ msg->op != OP_UNLINK &&
+ msg->op != OP_EXEC ) {
cache_msg = *msg;
if (path_by_ino) {
+1 -2
View File
@@ -6,11 +6,10 @@ LICENSE = "LGPL2.1"
DEPENDS = "sqlite3"
PV = "0.0+git${SRCPV}"
PR = "r16"
PR = "r17"
SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
file://static_sqlite.patch \
file://pseudo-exec-crash.patch \
"
FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"