Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#389 Bug 'address system' combo output/error stems Regina vs. Rex

closed-fixed
Mark Hessling
5
2014-06-08
2012-10-19
cniggeler
No

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

Discussion

  • cniggeler
    cniggeler
    2012-10-19

     
    Attachments
  • cniggeler
    cniggeler
    2012-10-19

    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")

     
  • Mark Hessling
    Mark Hessling
    2014-05-15

    • status: open --> pending
    • Group: --> Next Release
     
  • Mark Hessling
    Mark Hessling
    2014-05-15

    Fixed in v3.8RC1

     
  • Mark Hessling
    Mark Hessling
    2014-06-08

    • Status: pending --> closed-fixed
    • Group: Next Release -->