[interchange-cvs] interchange - heins modified lib/Vend/Config.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Thu Jan 23 15:16:00 2003
User: heins
Date: 2003-01-23 20:15:36 GMT
Modified: lib/Vend Config.pm
Log:
* Fix reset of locale.
Revision Changes Path
2.96 +3 -3 interchange/lib/Vend/Config.pm
rev 2.96, prev_rev 2.95
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.95
retrieving revision 2.96
diff -u -r2.95 -r2.96
--- Config.pm 23 Jan 2003 19:18:47 -0000 2.95
+++ Config.pm 23 Jan 2003 20:15:36 -0000 2.96
@@ -1,6 +1,6 @@
# Vend::Config - Configure Interchange
#
-# $Id: Config.pm,v 2.95 2003/01/23 19:18:47 mheins Exp $
+# $Id: Config.pm,v 2.96 2003/01/23 20:15:36 mheins Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
# Copyright (C) 2003 ICDEVGROUP <interchange@icdevgroup.org>
@@ -46,7 +46,7 @@
use Vend::Util;
use Vend::Data;
-$VERSION = substr(q$Revision: 2.95 $, 10);
+$VERSION = substr(q$Revision: 2.96 $, 10);
my %CDname;
@@ -2060,7 +2060,7 @@
if(POSIX::setlocale(POSIX::LC_ALL, $name) ) {
$store->{$name} = POSIX::localeconv();
}
- POSIX::setlocale($past);
+ POSIX::setlocale(POSIX::LC_ALL, $past);
}
my($sethash);