[100126] trunk/base/src/port1.0/porttrace.tcl

cal at macports.org cal at macports.org
Thu Nov 29 16:18:20 PST 2012


Revision: 100126
          https://trac.macports.org/changeset/100126
Author:   cal at macports.org
Date:     2012-11-29 16:18:20 -0800 (Thu, 29 Nov 2012)
Log Message:
-----------
porttrace: only print unique sandbox violations

Modified Paths:
--------------
    trunk/base/src/port1.0/porttrace.tcl

Modified: trunk/base/src/port1.0/porttrace.tcl
===================================================================
--- trunk/base/src/port1.0/porttrace.tcl	2012-11-30 00:10:10 UTC (rev 100125)
+++ trunk/base/src/port1.0/porttrace.tcl	2012-11-30 00:18:20 UTC (rev 100126)
@@ -141,7 +141,7 @@
     # Get the list of violations.
     set violations [slave_send porttrace::slave_get_sandbox_violations]
 
-    foreach violation [lsort $violations] {
+    foreach violation [lsort -unique $violations] {
         ui_warn "An activity was attempted outside sandbox: $violation"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121129/c29b26fa/attachment.html>


More information about the macports-changes mailing list