X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsend.c;h=577abacd163804a47c678f76db00d93fef6ea8f5;hb=e7129bf90a1b361e07365002379d8d2874c0f771;hp=5034121e806d29c92f3c17dc0528e8fefa153e90;hpb=a66c30d557c09799db7cd166ba5fa2a97dbafbb3;p=mmh diff --git a/uip/send.c b/uip/send.c old mode 100644 new mode 100755 index 5034121..577abac --- 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 */