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:
authorChristopher Faylor <me@cgf.cx>2006-09-08 00:42:53 +0400
committerChristopher Faylor <me@cgf.cx>2006-09-08 00:42:53 +0400
commitd6b1ac7faa1f6c7a9e655add93dc8a31bfbc44df (patch)
treeb8741e836ad09f48bc1123b1f57ec714c42b56bd /winsup/cygwin/errno.cc
parent0324070e352783db45f2c2b9ab7c9af1edaf0ab1 (diff)
* environ.cc (build_env): Don't put an empty environment variable into the
environment. Optimize use of "len". * errno.cc (ERROR_MORE_DATA): Translate to EMSGSIZE rather than EAGAIN.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r--winsup/cygwin/errno.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index e8beaa273..50819a952 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -87,7 +87,7 @@ static NO_COPY struct
X (MAX_THRDS_REACHED, EAGAIN),
X (META_EXPANSION_TOO_LONG, EINVAL),
X (MOD_NOT_FOUND, ENOENT),
- X (MORE_DATA, EAGAIN),
+ X (MORE_DATA, EMSGSIZE),
X (NEGATIVE_SEEK, EINVAL),
X (NETNAME_DELETED, ENOSHARE),
X (NOACCESS, EFAULT),