Menu

#1312 .file~new('','/') fails

5.0.0
closed
None
none
1
2023-01-01
2014-10-31
Erich
No

.file~new('','/') fails, but I believe it should return the root ('/' or '\') like .file~new('/','/') does.

Maybe even .file~new(,'/') could be considered as valid.


Applies to both 4.2.0 and 5.0.0

Discussion

  • Erich

    Erich - 2014-10-31

    At the same time I believe .file~new('') should return the current directory as .file~new('.') does.

    And similar, .file~new() might be considered a legal specification to return the current directory.

     
  • Rick McGuire

    Rick McGuire - 2014-10-31
    • status: open --> pending
    • assigned_to: Rick McGuire
    • Group: v4.2.0 --> 5.0.0
     
  • Rick McGuire

    Rick McGuire - 2014-10-31

    Committed revision [r10792].

     

    Related

    Commit: [r10792]

  • Rony G. Flatscher

    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel