[25146] trunk/base/src/darwinports1.0/darwinports.tcl

source_changes at macosforge.org source_changes at macosforge.org
Mon May 14 21:33:08 PDT 2007


Revision: 25146
          http://trac.macosforge.org/projects/macports/changeset/25146
Author:   jberry at macports.org
Date:     2007-05-14 21:33:07 -0700 (Mon, 14 May 2007)

Log Message:
-----------
Allow for portindex lines to be split, to accomodate multiline port descriptions and variant descriptions.

Modified Paths:
--------------
    trunk/base/src/darwinports1.0/darwinports.tcl

Modified: trunk/base/src/darwinports1.0/darwinports.tcl
===================================================================
--- trunk/base/src/darwinports1.0/darwinports.tcl	2007-05-15 02:02:41 UTC (rev 25145)
+++ trunk/base/src/darwinports1.0/darwinports.tcl	2007-05-15 04:33:07 UTC (rev 25146)
@@ -1263,8 +1263,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/20070514/4466bec0/attachment.html


More information about the macports-changes mailing list