comparison src/event-stream.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
comparison
equal deleted inserted replaced
258:58424f6abf56 259:11cf20601dec
88 #include "syssignal.h" /* SIGCHLD, etc. */ 88 #include "syssignal.h" /* SIGCHLD, etc. */
89 #include "sysfile.h" 89 #include "sysfile.h"
90 #include "systime.h" /* to set Vlast_input_time */ 90 #include "systime.h" /* to set Vlast_input_time */
91 91
92 #include "events-mod.h" 92 #include "events-mod.h"
93 93 #ifdef FILE_CODING
94 #ifdef MULE 94 #include "file-coding.h"
95 #include "mule-coding.h"
96 #endif 95 #endif
97 96
98 #include <errno.h> 97 #include <errno.h>
99 98
100 /* The number of keystrokes between auto-saves. */ 99 /* The number of keystrokes between auto-saves. */
4815 O_WRONLY | O_TRUNC | O_CREAT | OPEN_BINARY, 4814 O_WRONLY | O_TRUNC | O_CREAT | OPEN_BINARY,
4816 CREAT_MODE); 4815 CREAT_MODE);
4817 if (fd < 0) 4816 if (fd < 0)
4818 error ("Unable to create dribble file"); 4817 error ("Unable to create dribble file");
4819 Vdribble_file = make_filedesc_output_stream (fd, 0, 0, LSTR_CLOSING); 4818 Vdribble_file = make_filedesc_output_stream (fd, 0, 0, LSTR_CLOSING);
4820 #ifdef MULE 4819 #ifdef FILE_CODING
4821 Vdribble_file = 4820 Vdribble_file =
4822 make_encoding_output_stream (XLSTREAM (Vdribble_file), 4821 make_encoding_output_stream (XLSTREAM (Vdribble_file),
4823 Fget_coding_system (Qescape_quoted)); 4822 Fget_coding_system (Qescape_quoted));
4824 #endif 4823 #endif
4825 } 4824 }