Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 10/6/14, 1:35 AM, tsugutomo.enami@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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/