On 10/6/14, 1:35 AM, tsugutomo.en...@jp.sony.com wrote:
> Hi,
> 
>> + char *
>> + parser_remaining_input ()
>> + {
>> +   if (shell_input_line == 0)
>> +     return 0;
>> +   if (shell_input_line_index < 0 || shell_input_line_index >= 
>> shell_input_line_len)
>> +     return '\0';   /* XXX */
> 
> Do you mean return ""; ?

Yes, good catch.  It doesn't make a difference: clang and gcc both accept
it as written and it behaves as desired.  However, I'll change it for the
next version.

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

Reply via email to