comparison 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
comparison
equal deleted inserted replaced
212:d8688acf4c5b 213:78f53ef88e17
581 give_up_1: 581 give_up_1:
582 582
583 /* Now NREAD is the total amount of data in the buffer. */ 583 /* Now NREAD is the total amount of data in the buffer. */
584 if (nread == 0) 584 if (nread == 0)
585 break; 585 break;
586
587 #ifdef DOS_NT
588 /* Until we pull out of MULE things like
589 make_decoding_input_stream(), we do the following which is
590 less elegant. --marcpa */
591 {
592 int lf_count;
593 if (NILP (Vbinary_process_output)) {
594 nread = nread - crlf_to_lf(nread, bufptr, &lf_count);
595 }
596 }
597 #endif
586 598
587 total_read += nread; 599 total_read += nread;
588 600
589 if (!NILP (buffer)) 601 if (!NILP (buffer))
590 buffer_insert_raw_string (XBUFFER (buffer), (Bufbyte *) bufptr, 602 buffer_insert_raw_string (XBUFFER (buffer), (Bufbyte *) bufptr,