bug-bash
[Top][All Lists]
Advanced

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

Re: Bash-4.3 Official Patch 30


From: Chet Ramey
Subject: Re: Bash-4.3 Official Patch 30
Date: Wed, 08 Oct 2014 09:45:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 10/8/14, 4:03 AM, Andreas Schwab wrote:
> Chet Ramey <chet.ramey@case.edu> 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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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