X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsend.c;h=a5589ebaa2354e3fc4f7d2f1d8efb357a1fde3b3;hb=357003235f891fa019995f8bc69e6bd11149a5fd;hp=c19cf4fa880a6f573d364fe4bc4781a8fbeaa794;hpb=869aa60129811d7b160f353892dc5956a8aaac22;p=mmh diff --git a/uip/send.c b/uip/send.c index c19cf4f..a5589eb 100644 --- a/uip/send.c +++ b/uip/send.c @@ -33,21 +33,17 @@ static struct swit switches[] = { { "push", 0 }, #define NPUSHSW 9 { "nopush", 0 }, -#define UNIQSW 10 - { "unique", -6 }, -#define NUNIQSW 11 - { "nounique", -8 }, -#define VERBSW 12 +#define VERBSW 10 { "verbose", 0 }, -#define NVERBSW 13 +#define NVERBSW 11 { "noverbose", 0 }, -#define WATCSW 14 +#define WATCSW 12 { "watch", 0 }, -#define NWATCSW 15 +#define NWATCSW 13 { "nowatch", 0 }, -#define VERSIONSW 16 +#define VERSIONSW 14 { "version", 0 }, -#define HELPSW 17 +#define HELPSW 15 { "help", 0 }, { NULL, 0 } }; @@ -56,7 +52,6 @@ extern int debugsw; /* from sendsbr.c */ extern int forwsw; extern int inplace; extern int pushsw; -extern int unique; extern int verbsw; extern char *altmsg; /* .. */ @@ -115,13 +110,6 @@ main(int argc, char **argv) pushsw = 0; continue; - case UNIQSW: - unique++; - continue; - case NUNIQSW: - unique = 0; - continue; - case FORWSW: forwsw++; continue; @@ -226,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);