projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix test for changes to mhparam.
[mmh]
/
uip
/
send.c
diff --git
a/uip/send.c
b/uip/send.c
old mode 100644
(file)
new mode 100755
(executable)
index
5034121
..
6d075c1
--- 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);
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);
case VERSIONSW:
print_version(invo_name);
- done (1);
+ done (0);
case DRAFTSW:
msgs[msgp++] = draft;
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) {
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 */
#ifdef EISREMOTE
&& errno != EISREMOTE
#endif /* EISREMOTE */