aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in
blob: 1ef4f6717c76c78d1c3ff2524efc97e571e0253d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- scripts/w3mman/w3mman2html.cgi.in.orig  2016-11-20 23:34:49.225369000 +0900
+++ scripts/w3mman/w3mman2html.cgi.in   2016-11-20 23:35:23.649914000 +0900
@@ -220,7 +220,7 @@
   local($p);
 
   (! -d && -x) || return 0;
-  if (! defined(%PATH)) {
+  if (! %PATH) {
     for $p (split(":", $ENV{'PATH'})) {
       $p =~ s@/+$@@;
       $PATH{$p} = 1;