Skip to content

Commit

Permalink
not enough leeway for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed May 7, 2011
1 parent 27e4a02 commit e99e941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/file.d
Expand Up @@ -142,7 +142,7 @@ version (Posix)
ulong st_ino64;
}
//static assert(struct_stat64.sizeof == 88); // copied from d1, but it's currently 96 bytes, not 88.
}
}
else version (X86_64)
{
struct struct_stat64
Expand Down Expand Up @@ -769,7 +769,7 @@ else version(Windows)

getTimesWin(deleteme, creationTime1, accessTime1, modificationTime1);

enum leeway = dur!"seconds"(2);
enum leeway = dur!"seconds"(4);

{
auto diffc = creationTime1 - currTime;
Expand Down

0 comments on commit e99e941

Please sign in to comment.