* windows.cc (setitimer): Return ENOSYS on invalid argument.
This commit is contained in:
parent
9f3255cee6
commit
f715db84b6
@ -1,3 +1,7 @@
|
|||||||
|
2002-12-30 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* windows.cc (setitimer): Return ENOSYS on invalid argument.
|
||||||
|
|
||||||
2002-12-28 Christopher Faylor <cgf@redhat.com>
|
2002-12-28 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler_termios.cc (fhandler_termios::line_edit): Perform echo
|
* fhandler_termios.cc (fhandler_termios::line_edit): Perform echo
|
||||||
|
@ -148,7 +148,7 @@ setitimer (int which, const struct itimerval *value, struct itimerval *oldvalue)
|
|||||||
|
|
||||||
if (which != ITIMER_REAL)
|
if (which != ITIMER_REAL)
|
||||||
{
|
{
|
||||||
set_errno (EINVAL);
|
set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* Check if we will wrap */
|
/* Check if we will wrap */
|
||||||
|
Loading…
Reference in New Issue
Block a user