Fix w32 bug with call-process-region.
commit50a30ccec8932037b7f56122d723037cf8993147
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 22:40:17 +0000 (16 15:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 22:40:17 +0000 (16 15:40 -0700)
tree4e4cf897070ea0814fc95a7f46c4d63e919522eb
parent41d48a42df6ce4e5af9543f97313e256f16aa900
Fix w32 bug with call-process-region.

* callproc.c (Fcall_process_region): Pass nil, not "/dev/null",
to Fcall_process when the input is empty.  This simplifies the
code a bit.  It makes no difference on POSIXish platforms but
apparently it fixes a bug on w32.

Fixes: debbugs:14885
src/ChangeLog
src/callproc.c