diff options
| author | Geoff Voelker | 1997-09-03 00:46:21 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1997-09-03 00:46:21 +0000 |
| commit | bb06745dc753854d491f1d3cfec6e9e6d1a18f29 (patch) | |
| tree | aa1ff529c4a50653ee5e0fc4403852512c9cb52c /src | |
| parent | 76b3903d852a0c33964da1e73a7d8e152ef8189a (diff) | |
| download | emacs-bb06745dc753854d491f1d3cfec6e9e6d1a18f29.tar.gz emacs-bb06745dc753854d491f1d3cfec6e9e6d1a18f29.zip | |
Remove debugging macros.
(child_process): Remove is_dos_process field, add hwnd handle field.
(FILE_LAST_CR): New macro.
(w32_get_long_filename): Declare extern.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.h | 14 |
1 files changed, 4 insertions, 10 deletions
| @@ -21,15 +21,6 @@ along with GNU Emacs; see the file COPYING. If not, write to | |||
| 21 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 21 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 22 | Boston, MA 02111-1307, USA. */ | 22 | Boston, MA 02111-1307, USA. */ |
| 23 | 23 | ||
| 24 | /* #define FULL_DEBUG */ | ||
| 25 | #define EMACSDEBUG | ||
| 26 | |||
| 27 | #ifdef EMACSDEBUG | ||
| 28 | #define DebPrint(stuff) _DebPrint stuff | ||
| 29 | #else | ||
| 30 | #define DebPrint(stuff) | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* File descriptor set emulation. */ | 24 | /* File descriptor set emulation. */ |
| 34 | 25 | ||
| 35 | /* MSVC runtime library has limit of 64 descriptors by default */ | 26 | /* MSVC runtime library has limit of 64 descriptors by default */ |
| @@ -74,10 +65,10 @@ typedef struct _child_process | |||
| 74 | { | 65 | { |
| 75 | int fd; | 66 | int fd; |
| 76 | int pid; | 67 | int pid; |
| 77 | int is_dos_process; | ||
| 78 | HANDLE char_avail; | 68 | HANDLE char_avail; |
| 79 | HANDLE char_consumed; | 69 | HANDLE char_consumed; |
| 80 | HANDLE thrd; | 70 | HANDLE thrd; |
| 71 | HWND hwnd; | ||
| 81 | PROCESS_INFORMATION procinfo; | 72 | PROCESS_INFORMATION procinfo; |
| 82 | volatile int status; | 73 | volatile int status; |
| 83 | char chr; | 74 | char chr; |
| @@ -101,6 +92,7 @@ extern filedesc fd_info [ MAXDESC ]; | |||
| 101 | #define FILE_READ 0x0001 | 92 | #define FILE_READ 0x0001 |
| 102 | #define FILE_WRITE 0x0002 | 93 | #define FILE_WRITE 0x0002 |
| 103 | #define FILE_BINARY 0x0010 | 94 | #define FILE_BINARY 0x0010 |
| 95 | #define FILE_LAST_CR 0x0020 | ||
| 104 | #define FILE_PIPE 0x0100 | 96 | #define FILE_PIPE 0x0100 |
| 105 | #define FILE_SOCKET 0x0200 | 97 | #define FILE_SOCKET 0x0200 |
| 106 | 98 | ||
| @@ -109,6 +101,8 @@ extern void delete_child (child_process *cp); | |||
| 109 | 101 | ||
| 110 | /* ------------------------------------------------------------------------- */ | 102 | /* ------------------------------------------------------------------------- */ |
| 111 | 103 | ||
| 104 | /* Get long (aka "true") form of file name, if it exists. */ | ||
| 105 | extern BOOL w32_get_long_filename (char * name, char * buf, int size); | ||
| 112 | 106 | ||
| 113 | /* Prepare our standard handles for proper inheritance by child processes. */ | 107 | /* Prepare our standard handles for proper inheritance by child processes. */ |
| 114 | extern void prepare_standard_handles (int in, int out, | 108 | extern void prepare_standard_handles (int in, int out, |