Mercurial > hg > xemacs-beta
comparison src/process.c @ 255:084402c475ba r20-5b26
Import from CVS: tag r20-5b26
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:21:18 +0200 |
parents | 157b30c96d03 |
children | 65c19d2020f7 |
comparison
equal
deleted
inserted
replaced
254:e92abcaa252b | 255:084402c475ba |
---|---|
100 -1 means empty (no char is buffered). | 100 -1 means empty (no char is buffered). |
101 Used on sys V where the only way to tell if there is any | 101 Used on sys V where the only way to tell if there is any |
102 output from the process is to read at least one char. | 102 output from the process is to read at least one char. |
103 Always -1 on systems that support FIONREAD. */ | 103 Always -1 on systems that support FIONREAD. */ |
104 | 104 |
105 #if 0 /* FSFmacs */ | |
105 /* FSFmacs says: | 106 /* FSFmacs says: |
106 Don't make static; need to access externally. */ | 107 Don't make static; need to access externally. */ |
107 static int proc_buffered_char[MAXDESC]; | 108 static int proc_buffered_char[MAXDESC]; |
109 #endif | |
108 | 110 |
109 #ifdef HAVE_PTYS | 111 #ifdef HAVE_PTYS |
110 /* The file name of the pty opened by allocate_pty. */ | 112 /* The file name of the pty opened by allocate_pty. */ |
111 | 113 |
112 static char pty_name[24]; | 114 static char pty_name[24]; |
3230 | 3232 |
3231 Vprocess_list = Qnil; | 3233 Vprocess_list = Qnil; |
3232 for (i = 0; i < MAXDESC; i++) | 3234 for (i = 0; i < MAXDESC; i++) |
3233 { | 3235 { |
3234 descriptor_to_process[i] = Qnil; | 3236 descriptor_to_process[i] = Qnil; |
3237 #if 0 /* FSFmacs */ | |
3235 proc_buffered_char[i] = -1; | 3238 proc_buffered_char[i] = -1; |
3239 #endif | |
3236 } | 3240 } |
3237 } | 3241 } |
3238 | 3242 |
3239 #if 0 | 3243 #if 0 |
3240 | 3244 |