From: Jason Rumney Date: Mon, 17 May 2004 21:05:58 +0000 (+0000) Subject: (_sys_read_ahead): Use w32_pipe_read_delay. X-Git-Tag: ttn-vms-21-2-B4~6177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78806724fe1548a506e66834cbe952ffc8b8a776;p=emacs.git (_sys_read_ahead): Use w32_pipe_read_delay. --- diff --git a/src/w32.c b/src/w32.c index 98d630529e6..c4da090ead9 100644 --- a/src/w32.c +++ b/src/w32.c @@ -3486,7 +3486,7 @@ sys_pipe (int * phandles) } /* From ntproc.c */ -extern Lisp_Object Vw32_pipe_read_delay; +extern int w32_pipe_read_delay; /* Function to do blocking read of one byte, needed to implement select. It is only allowed on sockets and pipes. */ @@ -3526,7 +3526,7 @@ _sys_read_ahead (int fd) shell on NT is very slow if we don't do this. */ if (rc > 0) { - int wait = XINT (Vw32_pipe_read_delay); + int wait = w32_pipe_read_delay; if (wait > 0) Sleep (wait);