develooper Front page | perl.perl5.porters | Postings from December 2000

Re: [ID 20001214.011] Unreachable value in a search list logical name

From:
Jarkko Hietaniemi
Date:
December 14, 2000 13:33
Subject:
Re: [ID 20001214.011] Unreachable value in a search list logical name
Message ID:
20001214153332.B25210@chaos.wustl.edu
> --- vms/vms.c;-0        Fri Dec  8 14:28:19 2000
> +++ vms/vms.c   Thu Dec 14 15:06:44 2000
> @@ -152,7 +152,7 @@
>       }
>   #endif
> 
> -    if (!lnm || !eqv || idx > LNM$_MAX_INDEX) {
> +    if (!lnm || !eqv || idx > 127) {

*cough*
Changing a nice symbolic value to a naughty hardcoded value?
*cough* :-)

(I do understand what's the bug but I dislike naked numbers without
 explanations...)

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About