I have a short test case that demonstrates the subject problem using address system with output stem. out. error stem foo which occurs if using Regina 3.7 but NOT Rexx 3.7 OR Regina 3.4
Place the two rexx files in a directory, try the following:
> rexx testrw.rexx
output will be:
MD50=3
1 This is stdout line 1
2 This is stdout line 2
3 This is stdout line 3
FOO0=3
1 This is stderr line 1
2 This is stderr line 2, blank stderr line follows
3
Also, if you have regina34 and the regina.dll that goes with it, the output will be the same. Now move to regina37 (and its regina.dll) and try this:
> regina testrw.rexx
This is stdout line 1
This is stdout line 2
This is stdout line 3
MD50=0
FOO0=0
This of course has implications for Rexxwrapped applications. I have been waiting for the stem fix since 2008 (#1887965 as you referenced as a duplicate to a later(?) 2012 bug).
Thanks and regards,
Chris
Didn't know the sourceforge only allows you to upload 1 file. Take lines below and put in file testrw2.rexx, same directory as testrw.rexx:
m=lineout("stderr", "This is stderr line 1")
m=lineout("stderr", "This is stderr line 2, blank stderr line follows")
m=lineout("stderr", " ")
m=lineout("stdout", "This is stdout line 1")
m=lineout("stdout", "This is stdout line 2")
m=lineout("stdout", "This is stdout line 3")
Fixed in v3.8RC1