[47251] trunk/base/src/port/portindex.tcl

blb at macports.org blb at macports.org
Mon Feb 23 19:10:59 PST 2009


Revision: 47251
          http://trac.macports.org/changeset/47251
Author:   blb at macports.org
Date:     2009-02-23 19:10:58 -0800 (Mon, 23 Feb 2009)
Log Message:
-----------
port/portindex.tcl - revert r47206 as r47237 should be a slightly better
way of handling non-ASCII

Modified Paths:
--------------
    trunk/base/src/port/portindex.tcl

Modified: trunk/base/src/port/portindex.tcl
===================================================================
--- trunk/base/src/port/portindex.tcl	2009-02-24 02:58:43 UTC (rev 47250)
+++ trunk/base/src/port/portindex.tcl	2009-02-24 03:10:58 UTC (rev 47251)
@@ -69,7 +69,7 @@
         }
         
         set output [array get portinfo]
-        set len [expr [string bytelength $output] + 1]
+        set len [expr [string length $output] + 1]
         puts $fd [list $portinfo(name) $len]
         puts $fd $output
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090223/898eafa2/attachment.html>


More information about the macports-changes mailing list