X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a66c30d557c09799db7cd166ba5fa2a97dbafbb3..4c29b2115c38cfbbeb72fff97a497e5247aaf6f7:/uip/send.c?ds=inline diff --git a/uip/send.c b/uip/send.c old mode 100644 new mode 100755 index 5034121e..577abacd --- a/uip/send.c +++ b/uip/send.c @@ -442,7 +442,8 @@ go_to_it: distfile = getcpy (m_mktemp2 (altmsg, invo_name, NULL, NULL)); unlink(distfile); if (link (altmsg, distfile) == NOTOK) { - if (errno != EXDEV + /* Cygwin with FAT32 filesystem produces EPERM. */ + if (errno != EXDEV && errno != EPERM #ifdef EISREMOTE && errno != EISREMOTE #endif /* EISREMOTE */