#11 REXXTRY fix for blanks in path (bug 1448362)

v3.1beta
closed
None
5
2012-08-14
2006-03-04
No

Since Object Rexx 2.1 when the installation changed
the default location from c:\ObjREXX to c:\Program
Files\ObjREXX, the REXXTRY.REX script shows "Program"
instead of "REXXTRY.REX" in its separator line. The
problem is due to the blank in the path which causes
the "parse source" on line 101 to not get the correct
value for the name of the script. Adding the
following two lines after line 101 corrects the
problem:

if words(source) > 3 then / procname has blanks /
procrx = subword(source, 3)

Note that although this shows up on Windows, it could
also be a problem on *NIX as blanks are allowed in
path and files names there as well.

Discussion

  • Mark Hessling

    Mark Hessling - 2006-03-13

    Logged In: YES
    user_id=86185

    Applied fix.

     
  • Mark Miesfeld

    Mark Miesfeld - 2007-04-02

    Logged In: YES
    user_id=191588
    Originator: NO

    Closing this as the patch was applied to rexxtry.rex, revision 1.7, and was in the 3.1.0 release.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks