Merge pull request #669 from alexrp/errno

Use errno instead of getErrno in Phobos.
This commit is contained in:
Andrei Alexandrescu 2012-07-08 18:31:55 -07:00
commit 0b4df6a57b
4 changed files with 8 additions and 8 deletions

View file

@ -2262,7 +2262,7 @@ class StdioException : Exception
/**
Initialize with a message and an error code. */
this(string message, uint e = .getErrno())
this(string message, uint e = .errno)
{
errno = e;
version (Posix)
@ -2295,7 +2295,7 @@ Initialize with a message and an error code. */
/// ditto
static void opCall()
{
throw new StdioException(null, .getErrno());
throw new StdioException(null, .errno);
}
}