Removed EISREMOTE check.
authormarkus schnalke <meillo@marmaro.de>
Sat, 28 Jan 2012 12:10:50 +0000 (13:10 +0100)
committermarkus schnalke <meillo@marmaro.de>
Sat, 28 Jan 2012 12:10:50 +0000 (13:10 +0100)
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
uip/send.c

index 7a4a982..69083cc 100644 (file)
@@ -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
index e6d61dc..a5589eb 100644 (file)
@@ -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);