r708 - in packages/libmime-lite-perl/trunk: debian lib/MIME

Gunnar Wolf gwolf@costa.debian.org
Sat, 05 Mar 2005 00:27:42 +0100


Author: gwolf
Date: 2005-03-05 00:27:41 +0100 (Sat, 05 Mar 2005)
New Revision: 708

Modified:
   packages/libmime-lite-perl/trunk/debian/changelog
   packages/libmime-lite-perl/trunk/lib/MIME/Lite.pm
Log:
Localized the %ENV variable


Modified: packages/libmime-lite-perl/trunk/debian/changelog
===================================================================
--- packages/libmime-lite-perl/trunk/debian/changelog	2005-03-02 20:23:17 UTC (rev 707)
+++ packages/libmime-lite-perl/trunk/debian/changelog	2005-03-04 23:27:41 UTC (rev 708)
@@ -1,3 +1,9 @@
+libmime-lite-perl (3.01-4) unstable; urgency=low
+
+  * Changes in %ENV are now kept local to the module (Closes: #289983)
+
+ -- Gunnar Wolf <gwolf@debian.org>  Fri,  4 Mar 2005 17:25:35 -0600
+
 libmime-lite-perl (3.01-3) unstable; urgency=low
 
   * Set the path to a sane default (/bin:/usr/bin) so that MIME::Lite

Modified: packages/libmime-lite-perl/trunk/lib/MIME/Lite.pm
===================================================================
--- packages/libmime-lite-perl/trunk/lib/MIME/Lite.pm	2005-03-02 20:23:17 UTC (rev 707)
+++ packages/libmime-lite-perl/trunk/lib/MIME/Lite.pm	2005-03-04 23:27:41 UTC (rev 708)
@@ -334,6 +334,9 @@
             $VERSION
             );
 
+# Don't affect the environment for any invoking script
+local %ENV = %ENV;
+
 $ENV{PATH} = '/bin:/usr/bin';
 
 #==============================