On Jan 15 14:45, Ben Wijen wrote: > This is the non-POSIX value returned by Linux since 2.1.132. > --- > winsup/cygwin/syscalls.cc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc > index 227d1a911..043ccdb99 100644 > --- a/winsup/cygwin/syscalls.cc > +++ b/winsup/cygwin/syscalls.cc > @@ -1118,7 +1118,7 @@ unlink (const char *ourname) > else if (win32_name.isdir ()) > { > debug_printf ("unlinking a directory"); > - set_errno (EPERM); > + set_errno (EISDIR); > goto done; > } > > -- > 2.29.2
Pushed. Thanks, Corinna