> Date: Tue, 10 Jun 2014 23:53:50 +0100
> From: Pádraig Brady
> CC: bug-gnulib@gnu.org
>
> > Right you are. So this should be something like
> >
> > clock_t tnow = clock ();
> > if (tend >= tnow)
> > wait_timeout = tend - tnow;
> > else
> > wait_timeout = 0;
>
> Pushed the attach
On 06/10/2014 03:47 AM, Eli Zaretskii wrote:
>> Date: Tue, 10 Jun 2014 00:55:14 +0100
>> From: Pádraig Brady
>> CC: bug-gnulib@gnu.org
>>
>>> + /* How much is left to wait? */
>>> + if (wait_timeout != INFINITE)
>>> +{
>>> + wait_timeout = tend - clock ();
>>> + if (wait_timeout <
Eli Zaretskii wrote:
Wasn't there a TAB there?
Gnulib doesn't use tabs, which probably explains the glitch.
> Date: Tue, 10 Jun 2014 00:55:14 +0100
> From: Pádraig Brady
> CC: bug-gnulib@gnu.org
>
> > + /* How much is left to wait? */
> > + if (wait_timeout != INFINITE)
> > +{
> > + wait_timeout = tend - clock ();
> > + if (wait_timeout < 0)
> > + wait_timeout = 0;
>
> Strange inden
On 06/08/2014 04:32 PM, Eli Zaretskii wrote:
> The gnulib implementation of 'select' for MS-Windows returns
> immediately with a zero value when it is called to wait for input from
> an anonymous pipe (e.g., a pipe created by a call to 'pipe' or
> 'pipe2'). This was discussed here in this thread:
The gnulib implementation of 'select' for MS-Windows returns
immediately with a zero value when it is called to wait for input from
an anonymous pipe (e.g., a pipe created by a call to 'pipe' or
'pipe2'). This was discussed here in this thread:
http://lists.gnu.org/archive/html/bug-gnulib/2011-