We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70d5935 commit a74c37aCopy full SHA for a74c37a
engine/src/cmdsf.cpp
@@ -3280,7 +3280,13 @@ Exec_stat MCRead::exec(MCExecPoint &ep)
3280
if (arg == OA_FILE)
3281
t_is_text = MCfiles[index] . textmode != 0;
3282
else if (arg == OA_PROCESS)
3283
+ {
3284
t_is_text = MCprocesses[index] . textmode != 0;
3285
+ // SN-2014-10-14: [[ Bug 13658 ]] Ensure that we read all we can from the process, not
3286
+ // until 0x4 (which might be read before the end, when outputting binary data)
3287
+ if (*sptr == 0x4)
3288
+ ep.setsvalue("");
3289
+ }
3290
else
3291
t_is_text = true;
3292
if (!t_is_text)
0 commit comments