>>>> "Simon" == Simon Josefsson
<jas(a)extundo.com> writes:
Simon> "Jason R. Mastaler" <jason(a)mastaler.com> writes:
> Simon Josefsson <jas(a)extundo.com> writes:
>
>> I looked at it. This patch should fix it, does it?
> No, it doesn't.
Simon> Hm, `call-process-region' doesn't return anything useful
Simon> when this happens:
Jason's example is bogus here; the invocation of /tmp/emptyfile
succeeds! (At least on Linux, under ash, bash, and csh.) Dunno what
a POSIX shell is supposed to do in this case....
(let ((sendmail-program "/tmp/emptyfile"))
(call-process-region (point-min) (point-max) sendmail-program nil nil nil))
Put "#!/bin/sh\nexit 1\n" in /tmp/exit1, and try again.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py