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>2003-01-01 21:16:45 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-01 21:16:45 +0300
commit5836557165229ceb42371a7836bd4cb5c0a597e7 (patch)
treea9e5d7904612192b37bfd5f437c64bdab64023dc
parentf0213f9dbc7b90b7308270b70fc21451b1edb117 (diff)
* sysconf.cc (sysconf): Return arbitrary values for _SC_GETGR_R_SIZE_MAX,unlabeled-1.23.16
_SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX. * passwd.cc (getpwuid_r32): Add uid/gid fields to size check calculation. * exceptions.cc (events_init): Display name of mutex on failure. * windows.cc (setitimer): Return ENOSYS on invalid argument.
-rw-r--r--winsup/cygwin/window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/window.cc b/winsup/cygwin/window.cc
index 80e95a143..55bc369c0 100644
--- a/winsup/cygwin/window.cc
+++ b/winsup/cygwin/window.cc
@@ -148,7 +148,7 @@ setitimer (int which, const struct itimerval *value, struct itimerval *oldvalue)
if (which != ITIMER_REAL)
{
- set_errno (EINVAL);
+ set_errno (ENOSYS);
return -1;
}
/* Check if we will wrap */