Mercurial > hg > xemacs-beta
comparison src/fileio.c @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | 0293115a14e9 |
comparison
equal
deleted
inserted
replaced
1:c0c6a60d29db | 2:ac2d302a0011 |
---|---|
31 #include "lstream.h" | 31 #include "lstream.h" |
32 #include "redisplay.h" | 32 #include "redisplay.h" |
33 #include "sysdep.h" | 33 #include "sysdep.h" |
34 #include "window.h" /* minibuf_level */ | 34 #include "window.h" /* minibuf_level */ |
35 | 35 |
36 #ifdef HAVE_LIBGEN_H /* Must come before sysfile.h */ | |
37 #include <libgen.h> | |
38 #endif | |
36 #include "sysfile.h" | 39 #include "sysfile.h" |
37 #include "sysproc.h" | 40 #include "sysproc.h" |
38 #include "syspwd.h" | 41 #include "syspwd.h" |
39 #include "systime.h" | 42 #include "systime.h" |
40 #include "sysdir.h" | 43 #include "sysdir.h" |
42 #ifdef HPUX | 45 #ifdef HPUX |
43 #include <netio.h> | 46 #include <netio.h> |
44 #ifdef HPUX_PRE_8_0 | 47 #ifdef HPUX_PRE_8_0 |
45 #include <errnet.h> | 48 #include <errnet.h> |
46 #endif | 49 #endif |
47 #endif | |
48 | |
49 #ifdef HAVE_LIBGEN_H | |
50 #include <libgen.h> | |
51 #endif | 50 #endif |
52 | 51 |
53 /* Nonzero during writing of auto-save files */ | 52 /* Nonzero during writing of auto-save files */ |
54 static int auto_saving; | 53 static int auto_saving; |
55 | 54 |
2906 | 2905 |
2907 #ifdef DOS_NT | 2906 #ifdef DOS_NT |
2908 Lisp_Object Qfind_buffer_file_type; | 2907 Lisp_Object Qfind_buffer_file_type; |
2909 #endif /* DOS_NT */ | 2908 #endif /* DOS_NT */ |
2910 | 2909 |
2911 #define READ_BUF_SIZE (2 << 16) | 2910 /* Stack sizes > 2**16 is a good way to elicit compiler bugs */ |
2911 /* #define READ_BUF_SIZE (2 << 16) */ | |
2912 #define READ_BUF_SIZE (1 << 15) | |
2912 | 2913 |
2913 DEFUN ("insert-file-contents-internal", Finsert_file_contents_internal, | 2914 DEFUN ("insert-file-contents-internal", Finsert_file_contents_internal, |
2914 Sinsert_file_contents_internal, 1, 5, 0 /* | 2915 Sinsert_file_contents_internal, 1, 5, 0 /* |
2915 Insert contents of file FILENAME after point. | 2916 Insert contents of file FILENAME after point. |
2916 Returns list of absolute file name and length of data inserted. | 2917 Returns list of absolute file name and length of data inserted. |