Mercurial > hg > xemacs-beta
diff src/callproc.c @ 259:11cf20601dec r20-5b28
Import from CVS: tag r20-5b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:23:02 +0200 |
parents | 677f6a0ee643 |
children | 727739f917cb |
line wrap: on
line diff
--- a/src/callproc.c Mon Aug 13 10:22:10 2007 +0200 +++ b/src/callproc.c Mon Aug 13 10:23:02 2007 +0200 @@ -32,8 +32,8 @@ #include "process.h" #include "sysdep.h" #include "window.h" -#ifdef MULE -#include "mule-coding.h" +#ifdef FILE_CODING +#include "file-coding.h" #endif #include "systime.h" @@ -550,13 +550,13 @@ if (EQ (buffer, Qt)) XSETBUFFER (buffer, current_buffer); instream = make_filedesc_input_stream (fd[0], 0, -1, LSTR_ALLOW_QUIT); -#ifdef MULE +#ifdef FILE_CODING instream = make_decoding_input_stream (XLSTREAM (instream), Fget_coding_system (Vcoding_system_for_read)); Lstream_set_character_mode (XLSTREAM (instream)); -#endif /* MULE */ +#endif NGCPRO1 (instream); while (1) { @@ -974,8 +974,10 @@ { char **envp; for (envp = environ; envp && *envp; envp++) - Vprocess_environment = Fcons (build_ext_string (*envp, FORMAT_OS), - Vprocess_environment); + { + Vprocess_environment = Fcons (build_ext_string (*envp, FORMAT_OS), + Vprocess_environment); + } } /* jwz: don't do these things when in temacs (this used to be the case by