From 78806724fe1548a506e66834cbe952ffc8b8a776 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Mon, 17 May 2004 21:05:58 +0000 Subject: [PATCH] (_sys_read_ahead): Use w32_pipe_read_delay. --- src/w32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/w32.c b/src/w32.c index 98d630529e..c4da090ead 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); -- 2.20.1