diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
commit | 177c0ea74342272645959b82cf219faa0b3dba16 (patch) | |
tree | 44e22b210a9904eab25a66d12e708804b671df75 /src/mac.c | |
parent | db95369be096960245dd38678f68464627698678 (diff) | |
download | emacs-177c0ea74342272645959b82cf219faa0b3dba16.tar.gz emacs-177c0ea74342272645959b82cf219faa0b3dba16.tar.bz2 emacs-177c0ea74342272645959b82cf219faa0b3dba16.zip |
Trailing whitespace deleted.
Diffstat (limited to 'src/mac.c')
-rw-r--r-- | src/mac.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mac.c b/src/mac.c index bc2d342b197..a6b92db4680 100644 --- a/src/mac.c +++ b/src/mac.c @@ -2770,7 +2770,7 @@ sys_select (n, rfds, wfds, efds, timeout) if (!inhibit_window_system && rfds && FD_ISSET (0, rfds)) return 1; else if (inhibit_window_system || noninteractive || - (timeout && (EMACS_SECS(*timeout)==0) && + (timeout && (EMACS_SECS(*timeout)==0) && (EMACS_USECS(*timeout)==0))) return select(n, rfds, wfds, efds, timeout); else @@ -2780,22 +2780,22 @@ sys_select (n, rfds, wfds, efds, timeout) EMACS_GET_TIME (end_time); if (timeout) EMACS_ADD_TIME (end_time, end_time, *timeout); - + do { int r; EMACS_TIME one_second; SELECT_TYPE orfds; - + FD_ZERO (&orfds); if (rfds) { orfds = *rfds; } - + EMACS_SET_SECS (one_second, 1); EMACS_SET_USECS (one_second, 0); - + if (timeout && EMACS_TIME_LT(*timeout, one_second)) one_second = *timeout; @@ -2806,12 +2806,12 @@ sys_select (n, rfds, wfds, efds, timeout) } mac_check_for_quit_char(); - + EMACS_GET_TIME (now); EMACS_SUB_TIME (now, end_time, now); } while (!timeout || !EMACS_TIME_NEG_P (now)); - + return 0; } } @@ -2835,7 +2835,7 @@ int sys_read (fds, buf, nbyte) if (sys_select (fds+1, &rfds, 0, 0, NULL) < 0) return -1; } - + return read (fds, buf, nbyte); } |