[ic] SOLVED old bug with DOLLAR_ZERO and FreeBSD (and OpenBSD and MAC OSX?)

Joachim Leidinger interchange-users@icdevgroup.org
Wed Aug 7 09:27:01 2002


Hi List,

regarding to the mails in

http://interchange.redhat.com/pipermail/interchange-users/2002-January/016382.html
(OpenBSD 3.0)

http://interchange.redhat.com/pipermail/interchange-users/2001-September/012928.html

http://interchange.redhat.com/pipermail/interchange-users/2001-December/015322.html
(Mac OSX 10.1.1)

http://interchange.redhat.com/pipermail/interchange-users/2001-October/013196.html
(reporting about uncommenting the $0 lines in bin/interchange)

With this bugfix

   diff -u Config.pm.orig Config.pm
--- Config.pm.orig      Thu Jan 24 07:44:28 2002
+++ Config.pm   Thu Aug  1 16:53:17 2002
@@ -1707,7 +1707,7 @@
                                  and $eval = 1;
                  $eval and ! $safe and $safe = new Safe;
                  if(! defined $store->{$name} and $item eq 'Locale') {
-                       if(POSIX::setlocale(POSIX::LC_ALL, $settings) ) {
+                       if(POSIX::setlocale(POSIX::LC_ALL, $name) ) {
                                  $store->{$name} = POSIX::localeconv();
                          }
                  }

and this

Variable MV_DOLLAR_ZERO jojoic485

in interchange.cfg, it works fine without a segmentation fault.

 > ps -ax | grep jojoic485
   813  ??  Ss     0:00.01 jojoic485 (perl)

:-)))


Joachim

BTW:
Thanks to Goetz Verdieck for his test with the above bugfix in MAC OSX.




-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de