[Swift-commit] r3653 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Oct 1 15:35:58 CDT 2010


Author: wozniak
Date: 2010-10-01 15:35:58 -0500 (Fri, 01 Oct 2010)
New Revision: 3653

Modified:
   trunk/libexec/cdm.pl
Log:
Bug fix to CDM lookup


Modified: trunk/libexec/cdm.pl
===================================================================
--- trunk/libexec/cdm.pl	2010-10-01 05:30:16 UTC (rev 3652)
+++ trunk/libexec/cdm.pl	2010-10-01 20:35:58 UTC (rev 3653)
@@ -73,7 +73,10 @@
 	$key    = shift(@tokens);
 	$rest   = join(' ', @tokens);
 	@keys   = (@keys, $key); 
-	$map{$key} = $rest;
+	if (! defined $map{$key}) 
+	{
+	    $map{$key} = $rest;
+	}
     }
     elsif ($type eq "property")
     {




More information about the Swift-commit mailing list