#1266 qualify() BIF Crashes Interpreter

5.0.0
pending
None
tests
1
2014-10-09
2014-06-11
Erich
No

When called with no argument, the qualify() built-in function crashes the ooRexx interpreter.

say qualify()

(On Windows) qualify() BIF and (Stream) method will also return strange results without error indication, when Name is either the empty string or the total length of the current directory plus the length of name exceeds 260 characters

say .stream~new('')~qualify            -- returns empty string w/o current directory
C:\Subdirectory>say qualify('x'~copies(250))   -- returns Name w/o current directory

REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
Windows 7

Discussion

    • status: open --> accepted
    • assigned_to: Moritz Hoffmann
    • Pending work items: none --> tests
     


Anonymous


Cancel   Add attachments