We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74c37a commit 67f72d0Copy full SHA for 67f72d0
engine/src/cmdsf.cpp
@@ -3282,9 +3282,9 @@ Exec_stat MCRead::exec(MCExecPoint &ep)
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
+ // SN-2014-10-14: [[ Bug 13658 ]] Ensure that we read all we can from a binary process, not
3286
// until 0x4 (which might be read before the end, when outputting binary data)
3287
- if (*sptr == 0x4)
+ if (!t_is_text && *sptr == 0x4)
3288
ep.setsvalue("");
3289
}
3290
else
0 commit comments