projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't test with sendmail because it would really send the mail. If
[mmh]
/
uip
/
send.c
diff --git
a/uip/send.c
b/uip/send.c
old mode 100644
(file)
new mode 100755
(executable)
index
5034121
..
577abac
--- a/
uip/send.c
+++ b/
uip/send.c
@@
-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 */