Opened 19 years ago
Closed 19 years ago
#247 closed Bugs (Fixed)
Filesystem bug with rename
Reported by: | wpcmame | Owned by: | nobody |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
There is a bug in the windows version of filesystem::rename. In the documentation it says: ----- Source: !is_directory() Target: is_directory() The source file is moved to the target directory. ---- The problem is that the function used "::MoveFileA" will either rename a file or a directory but it will not move a file to a directory. (Error "target already exists") To move a file, the filname must also be in the target path.
Note:
See TracTickets
for help on using tickets.