X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsend.c;h=6d075c1d6822eea35cca78a19a0142ed64f305ec;hb=75360e381600d61a389f71e31d4ed46fdc24ffeb;hp=5034121e806d29c92f3c17dc0528e8fefa153e90;hpb=a66c30d557c09799db7cd166ba5fa2a97dbafbb3;p=mmh diff --git a/uip/send.c b/uip/send.c index 5034121..6d075c1 100644 --- 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 */