diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-01-18 16:09:51 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-01-18 16:09:51 +0000 |
commit | 5d858e49eb8f6f28c60d2d61e02999fe05753be2 (patch) | |
tree | a78de61a86259f6fa2eb6f28484e039f223b1db9 /winsup/cygwin/errno.cc | |
parent | 085461c3eca2b3a84d09603c0a1bccab2aa60a50 (diff) | |
download | newlib-5d858e49eb8f6f28c60d2d61e02999fe05753be2.zip newlib-5d858e49eb8f6f28c60d2d61e02999fe05753be2.tar.gz newlib-5d858e49eb8f6f28c60d2d61e02999fe05753be2.tar.bz2 |
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r-- | winsup/cygwin/errno.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index e71863d..c76b8b5 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -1,7 +1,7 @@ /* errno.cc: errno-related functions Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2008, 2009, 2010, 2011 Red Hat, Inc. + 2006, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc. This file is part of Cygwin. @@ -103,7 +103,7 @@ static NO_COPY struct X (IO_DEVICE, EIO), X (IO_INCOMPLETE, EAGAIN), X (IO_PENDING, EAGAIN), - X (LOCK_VIOLATION, EACCES), + X (LOCK_VIOLATION, EBUSY), X (MAX_THRDS_REACHED, EAGAIN), X (META_EXPANSION_TOO_LONG, EINVAL), X (MOD_NOT_FOUND, ENOENT), |