From 0d955185408f460b87e8ca32319eced32502dcd0 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 11 Sep 2012 12:26:47 +0000 Subject: [PATCH] Disabled a not yet thread-safe part of the new API call --- xorriso/text_io.c | 12 ++++++++++++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/xorriso/text_io.c b/xorriso/text_io.c index acc37c3b..8be54ad2 100644 --- a/xorriso/text_io.c +++ b/xorriso/text_io.c @@ -813,9 +813,21 @@ int Xorriso_fetch_outlists(struct XorrisO *xorriso, int stack_handle, { int ret, locked= 0; +#ifdef Xorriso_fetch_with_msg_queueS + + /* >>> This would need more locking around + xorriso->problem_status= sev; + Probably also locking of + Xorriso_info(), Xorriso_result + because unredirected output could collide. + */ + ret= Xorriso_process_msg_queues(xorriso, 0); if(ret <= 0) goto ex; + +#endif /* Xorriso_fetch_with_msg_queueS */ + if((flag & 3) == 0) flag|= 3; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index dd2db044..201373bd 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2012.09.11.092703" +#define Xorriso_timestamP "2012.09.11.122559"