Quote the temp file name, needed in Win32 because the
authorPaul Moore <Paul.Moore@uk.origin-it.com>
Thu, 14 Sep 2000 08:58:45 +0000 (09:58 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 10 Oct 2000 13:30:10 +0000 (13:30 +0000)
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

utils/perldoc.PL

index dc145e3..e1dd783 100644 (file)
@@ -409,7 +409,7 @@ sub page {
     }
     else {
        foreach my $pager (@pagers) {
-           last if system("$pager $tmp") == 0;
+           last if system("$pager \"$tmp\"") == 0;
        }
     }
 }