Re: Find file dialog in mc-4.6.0-pre3



Hello!

> > Thank you.  The code you found is completely broken.  However, your
> > changes don't seem to make any difference for me.  Could you please send a
> strange. it solved the problem completely for me, and it seems for others
> too.

Your patch makes the difference when looking for filenames without
searching file contents.  Searching contents is still not responsive.

> --- key.c.orig  Sat Jan 25 15:24:09 2003
> +++ key.c       Mon Jan 27 23:28:02 2003
> @@ -1038,8 +1038,7 @@
>  #endif
>      timeout.tv_sec = 0;
>      timeout.tv_usec = 0;
> -    select (maxfdp, &select_set, 0, 0, &timeout);
> -    return !FD_ISSET (0, &select_set);
> +    return (select (maxfdp+1, &select_set, 0, 0, &timeout) <= 0);
>  }

Applied.  Thank you!

By the way, it was my error.  I cannot believe I wrote all that.

-- 
Regards,
Pavel Roskin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]