[25440] branches/dp2mp-move/base/src/macports1.0/macports.tcl

source_changes at macosforge.org source_changes at macosforge.org
Mon May 21 22:37:14 PDT 2007


Revision: 25440
          http://trac.macosforge.org/projects/macports/changeset/25440
Author:   jmpp at macports.org
Date:     2007-05-21 22:37:14 -0700 (Mon, 21 May 2007)

Log Message:
-----------
Merging jberry's r25146: Allow for portindex lines to be split, to accomodate multiline port descriptions and variant descriptions.

Modified Paths:
--------------
    branches/dp2mp-move/base/src/macports1.0/macports.tcl

Modified: branches/dp2mp-move/base/src/macports1.0/macports.tcl
===================================================================
--- branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-22 05:34:23 UTC (rev 25439)
+++ branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-22 05:37:14 UTC (rev 25440)
@@ -1266,8 +1266,9 @@
 				while {[gets $fd line] >= 0} {
 					array unset portinfo
 					set name [lindex $line 0]
-					gets $fd line
-					
+				        set len [lindex $line 1]
+				        set line [read $fd $len]
+
 					if {$easy} {
 						set target $name
 					} else {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070521/141d4fd2/attachment.html


More information about the macports-changes mailing list