comparison src/process.c @ 21249:f90a51f05bee

(read_process_output): Use make_string_from_bytes.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Mar 1998 17:50:30 +0000
parents 50929073a0ba
children 3763e516cf1e
comparison
equal deleted inserted replaced
21248:aba5e1c3328b 21249:f90a51f05bee
2898 2898
2899 /* For speed, if a search happens within this code, 2899 /* For speed, if a search happens within this code,
2900 save the match data in a special nonrecursive fashion. */ 2900 save the match data in a special nonrecursive fashion. */
2901 running_asynch_code = 1; 2901 running_asynch_code = 1;
2902 2902
2903 text = make_multibyte_string (chars, nchars, nbytes); 2903 text = make_string_from_bytes (chars, nchars, nbytes);
2904 internal_condition_case_1 (read_process_output_call, 2904 internal_condition_case_1 (read_process_output_call,
2905 Fcons (outstream, 2905 Fcons (outstream,
2906 Fcons (proc, Fcons (text, Qnil))), 2906 Fcons (proc, Fcons (text, Qnil))),
2907 !NILP (Vdebug_on_error) ? Qnil : Qerror, 2907 !NILP (Vdebug_on_error) ? Qnil : Qerror,
2908 read_process_output_error_handler); 2908 read_process_output_error_handler);