* external.cc (cygwin_internal): Set errno on failure.

This commit is contained in:
Christopher Faylor
2006-05-02 15:58:35 +00:00
parent a7fc2a4772
commit d182b68ce2
2 changed files with 5 additions and 0 deletions

View File

@ -351,5 +351,6 @@ cygwin_internal (cygwin_getinfo_types t, ...)
default:
break;
}
set_errno (ENOSYS);
return (unsigned long) -1;
}