http://d.puremagic.com/issues/show_bug.cgi?id=7819
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 AssignedTo: nob...@puremagic.com ReportedBy: j...@prismnet.com --- Comment #0 from Jay Norwood <j...@prismnet.com> 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 std.zip 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------