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

POSSIBLLY FIX console-data problem



I investigate about recent important console-data bugs, and
I think I find a fix of this bug.

--- console-data.config-dist	Thu Nov  4 03:12:32 1999
+++ console-data.config-new	Thu Nov  4 03:12:45 1999
@@ -209,7 +209,7 @@
 	my @path = split (/:/, $item);
 	my $curHash = $hash;
 	# create the hash hierarchy, leaving the last 2 componants alone
-	for ($i = 0; $i <= ($#path-2); $i++) {
+	for ($i = 0; $i <= ($#path-3); $i++) {
 	    $elem = $path[$i];
 	    if (! exists ($curHash->{$elem})) {
 		# create a sub-hash if none is there yet

Best regards,
Fumitoshi UKAI


Reply to: