diff src/callproc.c @ 213:78f53ef88e17 r20-4b5

Import from CVS: tag r20-4b5
author cvs
date Mon, 13 Aug 2007 10:06:47 +0200
parents 41ff10fd062f
children 1f0dabaa0855
line wrap: on
line diff
--- a/src/callproc.c	Mon Aug 13 10:05:53 2007 +0200
+++ b/src/callproc.c	Mon Aug 13 10:06:47 2007 +0200
@@ -584,6 +584,18 @@
 	if (nread == 0)
 	  break;
 
+#ifdef DOS_NT
+       /* Until we pull out of MULE things like
+	  make_decoding_input_stream(), we do the following which is
+	  less elegant. --marcpa */
+       {
+	 int lf_count;
+	 if (NILP (Vbinary_process_output)) {
+	   nread = nread - crlf_to_lf(nread, bufptr, &lf_count);
+         }
+       }
+#endif
+
 	total_read += nread;
 
 	if (!NILP (buffer))