diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:24:14 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:24:14 -0500 |
commit | 86cfd01f1d547422a1fb0365719491a355847dc0 (patch) | |
tree | 131fc20f78755a99c8d5db62c39609d0c4cafe0f /parens.c | |
parent | ff2d9ff725d1d8591f3534ed2a992b550b56a832 (diff) | |
download | readline-86cfd01f1d547422a1fb0365719491a355847dc0.tar.gz |
Readline-6.1 import
Diffstat (limited to 'parens.c')
-rw-r--r-- | parens.c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -38,16 +38,7 @@ # include <unistd.h> #endif -#if defined (FD_SET) && !defined (HAVE_SELECT) -# define HAVE_SELECT -#endif - -#if defined (HAVE_SELECT) -# include <sys/time.h> -#endif /* HAVE_SELECT */ -#if defined (HAVE_SYS_SELECT_H) -# include <sys/select.h> -#endif +#include "posixselect.h" #if defined (HAVE_STRING_H) # include <string.h> @@ -130,8 +121,7 @@ rl_insert_close (count, invoking_key) FD_ZERO (&readfds); FD_SET (fileno (rl_instream), &readfds); - timer.tv_sec = 0; - timer.tv_usec = _paren_blink_usec; + USEC_TO_TIMEVAL (_paren_blink_usec, timer); orig_point = rl_point; rl_point = match_point; |