From 357003235f891fa019995f8bc69e6bd11149a5fd Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Sat, 28 Jan 2012 13:10:50 +0100 Subject: [PATCH] Removed EISREMOTE check. It's not in POSIX and Google finds only nmh code containing it. Maybe it was some BSD experiment. Who knows. --- sbr/folder_addmsg.c | 5 ----- uip/send.c | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) 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); -- 1.7.10.4