projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73edd9
)
perldoc patch
author
Kenneth Albanowski
<kjahds@kjahds.com>
Mon, 30 Sep 1996 02:00:09 +0000
(22:00 -0400)
committer
Andy Dougherty
<doughera@lafcol.lafayette.edu>
Mon, 30 Sep 1996 02:00:09 +0000
(22:00 -0400)
Ilya has found that this change makes perldoc much more useful under OS/2.
utils/perldoc.PL
patch
|
blob
|
history
diff --git
a/utils/perldoc.PL
b/utils/perldoc.PL
index
46a89d0
..
07540c5
100644
(file)
--- a/
utils/perldoc.PL
+++ b/
utils/perldoc.PL
@@
-113,8
+113,8
@@
sub containspod {
local($")="/";
my(@p,$p,$cip);
foreach $p (split(/\//, $file)){
- if (
$Is_VMS
and not scalar @p) {
- # VMS filesystems don't begin at '/'
+ if (
($Is_VMS or $^O eq 'os2')
and not scalar @p) {
+ # VMS
ish
filesystems don't begin at '/'
push(@p,$p);
next;
}