aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2004-05-17 21:05:06 +0000
committerJason Rumney2004-05-17 21:05:06 +0000
commit5322f50b91296b8644304a98b2f2810c505384b7 (patch)
treec7b2d213ed74db8ecfb19790f2408b26f975739e /src
parentf9ed303a2cd76a54837b8417437c68b60fc33e29 (diff)
downloademacs-5322f50b91296b8644304a98b2f2810c505384b7.tar.gz
emacs-5322f50b91296b8644304a98b2f2810c505384b7.zip
* w32proc.c (w32_pipe_read_delay): Rename from Vw32_pipe_read_delay
and make it an int. * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid.
Diffstat (limited to 'src')
-rw-r--r--src/w32proc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index edd286e50d0..88afa590bbe 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -82,7 +82,7 @@ Lisp_Object Vw32_start_process_inherit_error_mode;
82 avoids the inefficiency of frequently reading small amounts of data. 82 avoids the inefficiency of frequently reading small amounts of data.
83 This is primarily necessary for handling DOS processes on Windows 95, 83 This is primarily necessary for handling DOS processes on Windows 95,
84 but is useful for W32 processes on both Windows 95 and NT as well. */ 84 but is useful for W32 processes on both Windows 95 and NT as well. */
85Lisp_Object Vw32_pipe_read_delay; 85int w32_pipe_read_delay;
86 86
87/* Control conversion of upper case file names to lower case. 87/* Control conversion of upper case file names to lower case.
88 nil means no, t means yes. */ 88 nil means no, t means yes. */
@@ -366,8 +366,10 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app,
366 if (cp->pid < 0) 366 if (cp->pid < 0)
367 cp->pid = -cp->pid; 367 cp->pid = -cp->pid;
368 368
369#if defined(NO_UNION_TYPE) && !defined (USE_LSB_TAG)
369 /* pid must fit in a Lisp_Int */ 370 /* pid must fit in a Lisp_Int */
370 cp->pid = (cp->pid & VALMASK); 371 cp->pid = (cp->pid & VALMASK);
372#endif
371 373
372 *pPid = cp->pid; 374 *pPid = cp->pid;
373 375
@@ -2202,7 +2204,7 @@ When non-nil, they inherit their error mode setting from Emacs, which stops
2202them blocking when trying to access unmounted drives etc. */); 2204them blocking when trying to access unmounted drives etc. */);
2203 Vw32_start_process_inherit_error_mode = Qt; 2205 Vw32_start_process_inherit_error_mode = Qt;
2204 2206
2205 DEFVAR_INT ("w32-pipe-read-delay", &Vw32_pipe_read_delay, 2207 DEFVAR_INT ("w32-pipe-read-delay", &w32_pipe_read_delay,
2206 doc: /* Forced delay before reading subprocess output. 2208 doc: /* Forced delay before reading subprocess output.
2207This is done to improve the buffering of subprocess output, by 2209This is done to improve the buffering of subprocess output, by
2208avoiding the inefficiency of frequently reading small amounts of data. 2210avoiding the inefficiency of frequently reading small amounts of data.
@@ -2211,7 +2213,7 @@ If positive, the value is the number of milliseconds to sleep before
2211reading the subprocess output. If negative, the magnitude is the number 2213reading the subprocess output. If negative, the magnitude is the number
2212of time slices to wait (effectively boosting the priority of the child 2214of time slices to wait (effectively boosting the priority of the child
2213process temporarily). A value of zero disables waiting entirely. */); 2215process temporarily). A value of zero disables waiting entirely. */);
2214 Vw32_pipe_read_delay = 50; 2216 w32_pipe_read_delay = 50;
2215 2217
2216 DEFVAR_LISP ("w32-downcase-file-names", &Vw32_downcase_file_names, 2218 DEFVAR_LISP ("w32-downcase-file-names", &Vw32_downcase_file_names,
2217 doc: /* Non-nil means convert all-upper case file names to lower case. 2219 doc: /* Non-nil means convert all-upper case file names to lower case.