[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M2H_RCFILE envariable is not working



Hello,

During the testing of MHonArc2.4.8, I found that the envariable
M2H_RCFILE is not working.  However, the command line option
"-rcfile" is working ok.  Interested in the bug, I debugged some
files, and found that lib/mhopt.pl is responsible.

I am appending the one line patch which will correct the bug.
--
Sang-yong Suh

--- lib/mhopt.pl.orig	Wed Apr 11 11:46:28 2001
+++ lib/mhopt.pl	Tue Apr 17 15:07:16 2001
@@ -383,7 +383,7 @@
     ##	Read resource file(s) (I initially used the term 'format file').
     ##	Look for resource in outdir unless existing according to
     ##  current value.
-    foreach (@FMTFILE) {
+    foreach ($FMTFILE, @FMTFILE) {
 	$_ = join($DIRSEP, $OUTDIR, $_) unless -e $_;
 	&read_fmt_file($_);
     }


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]