[interchange-cvs] [SCM] Interchange branch, master, updated. dde2ab6758ba0d4606422893e3a5f3270607671c

Jon Jensen interchange-cvs at icdevgroup.org
Fri Aug 21 18:18:27 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  dde2ab6758ba0d4606422893e3a5f3270607671c (commit)
      from  8eabe4eef1364862efbfdf47c1cb9691958bf882 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dde2ab6758ba0d4606422893e3a5f3270607671c
Author: Jon Jensen <jon at endpoint.com>
Date:   Fri Aug 21 12:17:56 2009 -0600

    Share objects in a single call to remove an unneeded extra method call

-----------------------------------------------------------------------

Summary of changes and diff:
 lib/Vend/Safe.pm |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/lib/Vend/Safe.pm b/lib/Vend/Safe.pm
index bddfe35..c9ae0de 100644
--- a/lib/Vend/Safe.pm
+++ b/lib/Vend/Safe.pm
@@ -1,7 +1,5 @@
 # Vend::Safe - utility methods for handling character encoding
 #
-# $Id$
-#
 # Copyright (C) 2009 Interchange Development Group
 # Copyright (C) 2009 David Christensen <david at endpoint.com>
 #
@@ -58,8 +56,7 @@ sub initialize_safe_compartment {
     $compartment->deny_only(); # permit everything
 
     # add custom shared variables for unicode support
-    $compartment->share_from('main',['&utf8::SWASHNEW']);
-    $compartment->share_from('main',['&utf8::SWASHGET']);
+    $compartment->share_from('main', ['&utf8::SWASHNEW', '&utf8::SWASHGET']);
 
     # preload utf-8 stuff in compartment
     $compartment->reval('qr{\x{0100}}i');


hooks/post-receive
-- 
Interchange



More information about the interchange-cvs mailing list