X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a66c30d557c09799db7cd166ba5fa2a97dbafbb3..1d138200263d792ebda1b817345fff3fed6c29b9:/uip/send.c?ds=sidebyside diff --git a/uip/send.c b/uip/send.c old mode 100644 new mode 100755 index 5034121e..6d075c1d --- a/uip/send.c +++ b/uip/send.c @@ -198,10 +198,10 @@ main (int argc, char **argv) case HELPSW: snprintf (buf, sizeof(buf), "%s [file] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case DRAFTSW: msgs[msgp++] = draft; @@ -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 */