[csw-devel] SF.net SVN: gar:[7617] csw/mgar/gar/v2/bin/mkpackage

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Dec 14 12:50:21 CET 2009


Revision: 7617
          http://gar.svn.sourceforge.net/gar/?rev=7617&view=rev
Author:   dmichelsen
Date:     2009-12-14 11:50:21 +0000 (Mon, 14 Dec 2009)

Log Message:
-----------
mGAR v2: Fix wrong use of last index operator according to http://rt.perl.org/rt3/Public/Bug/Display.html?id=49230

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/mkpackage

Modified: csw/mgar/gar/v2/bin/mkpackage
===================================================================
--- csw/mgar/gar/v2/bin/mkpackage	2009-12-14 10:28:34 UTC (rev 7616)
+++ csw/mgar/gar/v2/bin/mkpackage	2009-12-14 11:50:21 UTC (rev 7617)
@@ -461,7 +461,7 @@
     # specified file.
 
     my ( $dname, $spec, $line, $flag );
-    for ( my $i = 0 ; $i <= $#{@$content} ; $i++ ) {
+    for ( my $i = 0 ; $i <= $#$content ; $i++ ) {
 
         my ( $source, $lineno, $line ) = @{ $content->[$i] };
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list