mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
setTimes should throw FileException on Posix.
This commit is contained in:
parent
6655cc1848
commit
480b51c6a1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue