setTimes should throw FileException on Posix.

This commit is contained in:
Andrej Mitrovic 2013-02-10 04:19:39 +01:00
parent 6655cc1848
commit 480b51c6a1

View file

@ -696,7 +696,7 @@ void setTimes(in char[] name,
t[0] = accessTime.toTimeVal();
t[1] = modificationTime.toTimeVal();
enforce(utimes(toStringz(name), t) == 0);
cenforce(utimes(toStringz(name), t) == 0, name);
}
}