aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/multipart
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-26 01:57:19 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-26 01:57:19 +0000
commita20d4feff7a9031076959bb4ffe664722bff3027 (patch)
treee341951f104d643b2530324166b6dbc6115b72f3 /scripts/multipart
parent[w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used ... (diff)
downloadw3m-a20d4feff7a9031076959bb4ffe664722bff3027.tar.gz
w3m-a20d4feff7a9031076959bb4ffe664722bff3027.zip
[w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--scripts/multipart/multipart.cgi.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in
index fb13443..d009519 100644
--- a/scripts/multipart/multipart.cgi.in
+++ b/scripts/multipart/multipart.cgi.in
@@ -1,9 +1,12 @@
#!@PERL@
-if ($use_NKF = eval "use NKF;") {
+eval { use NKF; };
+if (! $@) {
+ $use_NKF = 1;
$CONV = "-e";
$MIME_DECODE = "-m -e";
} else {
+ $use_NKF = 0;
# $CONV = "w3m -dump -e";
$CONV = "@NKF@ -e";
$MIME_DECODE = "@NKF@ -m -e";