1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-17 21:18:06 +02:00

zsh-workers:6131

This commit is contained in:
Tanaka Akira 1999-04-28 22:06:47 +00:00
parent 2aae84ff48
commit cfd1678163

View file

@ -413,7 +413,6 @@ zleread(char *lp, char *rp, int flags)
baud = getiparam("BAUD");
costmult = (baud) ? 3840000L / baud : 0;
tv.tv_sec = 0;
#endif
/* ZLE doesn't currently work recursively. This is needed in case a *
@ -523,6 +522,7 @@ zleread(char *lp, char *rp, int flags)
#ifdef HAVE_SELECT
if (baud && !(lastcmd & ZLE_MENUCMP)) {
FD_SET(SHTTY, &foofd);
tv.tv_sec = 0;
if ((tv.tv_usec = cost * costmult) > 500000)
tv.tv_usec = 500000;
if (!kungetct && select(SHTTY+1, (SELECT_ARG_2_T) & foofd,