Summary: std.file.setTimes throws error on folders
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Jay Norwood <> 2012-04-04 05:42:30 PDT ---
std.file.setTimes threw an error on folder names while it worked ok on regular
files.  Not sure if it is an error since there is no documentation that it
shouldn't work for folders.  Should it work, or what is the alternative?

In the lines below, am.time was from archive entry.
tz was from localTime().
fullPathname is a full path to a windows directory name.

SysTime st = DosFileTimeToSysTime(am.time, tz);
std.file.setTimes(fullPathname, st, st);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to