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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-02 19:58:35 +0400
committerChristopher Faylor <me@cgf.cx>2006-05-02 19:58:35 +0400
commitd182b68ce20be86de64b6babcdd1cdfb32a680d0 (patch)
treec40a18bc3a0090813180f19a5fb96a191d820d03 /winsup
parenta7fc2a477232e4180240093927a214bbfba47ebe (diff)
* external.cc (cygwin_internal): Set errno on failure.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/external.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e2c25b7a0..cb54456ec 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-02 Christopher Faylor <cgf@timesys.com>
+
+ * external.cc (cygwin_internal): Set errno on failure.
+
2006-04-27 Corinna Vinschen <corinna@vinschen.de>
* pipe.cc (DEFAULT_PIPEBUFSIZE): Raise to 64K.
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 71b790c50..62007304f 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -351,5 +351,6 @@ cygwin_internal (cygwin_getinfo_types t, ...)
default:
break;
}
+ set_errno (ENOSYS);
return (unsigned long) -1;
}