On 10/8/14, 4:03 AM, Andreas Schwab wrote:
> Chet Ramey <[email protected]> writes:
>
>> Yes, that's right. The question is whether that case of the index out
>> of bounds should continue to return NULL, but in a clearer way, or
>> return "" to differentiate it from the case where shell_input_line is
>> NULL.
>
> Do you need that difference? The only caller treats them the same.
Sure, now. There may be others in the future; you like to design general
interfaces.
Why are we spending this much bandwidth discussing a line of code that
makes no practical difference?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/