Opened 13 years ago
Last modified 13 years ago
#2046 closed Bug
DirGetSize ( '' ) doesn't return error — at Version 1
Reported by: | wakillon | Owned by: | |
---|---|---|---|
Milestone: | 3.3.7.21 | Component: | AutoIt |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | DirGetSize | Cc: |
Description (last modified by Valik)
DirGetSize Function ( with or without flag ) should returns -1 and sets @error to 1 if the path doesn't exist, but if path is it return a size and no error...
Note: See
TracTickets for help on using
tickets.
Several things wrong with this bug report.
Since this doesn't behave in a sensible fashion I'll just make it error out on an empty path. It should probably return the size of the current working directory, though.