From 6c22c79f73046ceed5c2f3648405b3db3c81ce76 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 26 Sep 2005 15:27:15 +0000 Subject: [PATCH] * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/errno.cc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 9d3549cfc..bb9b37a0e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-09-26 Corinna Vinschen + + * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND. + 2005-09-26 Christopher Faylor * exceptions.cc (_cygtls::call_signal_handler): Minor cleanup. diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index e1f507948..e8beaa273 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -133,6 +133,8 @@ static NO_COPY struct X (WAIT_NO_CHILDREN, ECHILD), X (WORKING_SET_QUOTA, EAGAIN), X (WRITE_PROTECT, EROFS), + X (SEEK, EINVAL), + X (SECTOR_NOT_FOUND, EINVAL), { 0, NULL, 0} };