#881 DIRECTORY function returns not null

v4.0.1
closed
5
2012-08-14
2010-02-11
No

According docs and other REXX interpreters DIRECTORY function must return: "If successful, the name of the newdirectory is returned; if an error occurred, null is returned." Actually it return current directory name.

say directory('notexistenddir')

says current directory.

Discussion

  • Rick McGuire

    Rick McGuire - 2010-02-11

    Comitted revision 5553. Note problem is *ix only.

     
  • Rick McGuire

    Rick McGuire - 2010-02-23

    Committed revision 5614.

    4.0.1 merge

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-09-08

    The fix for this item was in the 4.0.1 release.

     


Anonymous

Cancel  Add attachments