From: markus schnalke Date: Sat, 28 Jan 2012 12:10:50 +0000 (+0100) Subject: Removed EISREMOTE check. X-Git-Tag: mmh-thesis-end~399 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=357003235f891fa019995f8bc69e6bd11149a5fd;p=mmh Removed EISREMOTE check. It's not in POSIX and Google finds only nmh code containing it. Maybe it was some BSD experiment. Who knows. --- diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 7a4a982..69083cc 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -142,11 +142,6 @@ folder_addmsg(struct msgs **mpp, char *msgfile, int selected, } else { linkerr = errno; -#ifdef EISREMOTE - if (linkerr == EISREMOTE) - linkerr = EXDEV; -#endif /* EISREMOTE */ - /* ** Check if the file in our desired location is ** the same as the source file. If so, then just diff --git a/uip/send.c b/uip/send.c index e6d61dc..a5589eb 100644 --- a/uip/send.c +++ b/uip/send.c @@ -214,11 +214,7 @@ main(int argc, char **argv) vec[vecp++] = "-dist"; distfile = getcpy(m_mktemp2(altmsg, invo_name, NULL, NULL)); if (link(altmsg, distfile) == NOTOK) { - if (errno != EXDEV -#ifdef EISREMOTE - && errno != EISREMOTE -#endif /* EISREMOTE */ - ) + if (errno != EXDEV) adios(distfile, "unable to link %s to", altmsg); free(distfile);