diff options
author | Paul Moore <Paul.Moore@uk.origin-it.com> | 2000-09-14 09:58:45 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-10 13:30:10 +0000 |
commit | a79ff10558a3b8e128b0898794bddcf07255f408 (patch) | |
tree | f3f68945488d6b4e8061d4919d7f500fde806711 /utils | |
parent | d0e9ca0c9778f73ab66adada9b844daa075eb55f (diff) | |
download | perl-a79ff10558a3b8e128b0898794bddcf07255f408.tar.gz |
Quote the temp file name, needed in Win32 because the
default name unfortunately contains spaces, shouldn't
hurt elsewhere.
Subject: FW: perldoc fails if $TEMP contains spaces
Message-ID: <714DFA46B9BBD0119CD000805FC1F53B012A82AA@UKRUX002.rundc.uk.origin-it.com>
p4raw-id: //depot/perl@7187
Diffstat (limited to 'utils')
-rw-r--r-- | utils/perldoc.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/perldoc.PL b/utils/perldoc.PL index dc145e3e35..e1dd783e86 100644 --- a/utils/perldoc.PL +++ b/utils/perldoc.PL @@ -409,7 +409,7 @@ sub page { } else { foreach my $pager (@pagers) { - last if system("$pager $tmp") == 0; + last if system("$pager \"$tmp\"") == 0; } } } |