bug-bash
[Top][All Lists]
Advanced

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

Re: ?:


From: Chet Ramey
Subject: Re: ?:
Date: Mon, 22 Jun 2015 10:46:39 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/22/15 10:36 AM, isabella parakiss wrote:
> In lib/readline/input.c line 108
>   return (_isatty (fd) ? ((((long) (HANDLE) _get_osfhandle (fd)) & 3)
> == 3) ? 0);
> I think you mean return x ? y : z;

Yep, you're right.  This is MinGW-specific code.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]