Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-01-18 20:09:51 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-01-18 20:09:51 +0400
commit5d858e49eb8f6f28c60d2d61e02999fe05753be2 (patch)
treea78de61a86259f6fa2eb6f28484e039f223b1db9
parent085461c3eca2b3a84d09603c0a1bccab2aa60a50 (diff)
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/errno.cc4
2 files changed, 7 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f75aa354c..e43b049a8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,4 +1,8 @@
-2013-01-18 Christopher Faylor <me.cygwin2013@cgf.cx>
+2013-01-18 Corinna Vinschen <corinna@vinschen.de>
+
+ * errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
+
+2013-01-18 Corinna Vinschen <corinna@vinschen.de>
* mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
to implement MS_SYNC.
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index e71863d87..c76b8b5c1 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),