summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.ohio-state.edu>1997-08-01 23:58:26 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-08-07 00:00:00 +1200
commitd8c2d278168b862ff4120ad8e5887d37d31f858b (patch)
treeba919479278c1705fc4f79b7e2193083479ac8ef /perl.c
parent67fbe06e7fe7dfa95ec51821be9237cabdf281e2 (diff)
downloadperl-d8c2d278168b862ff4120ad8e5887d37d31f858b.tar.gz
Additional OS/2 patches
This is yet-another after-candidate2 -S fix: a) We enable adding extensions for -S search on OS/2 (needed for pod2man in makemaker after binary install); b) remove an extra stat(); c) Update docs; Credited: Gurusamy Sarathy <gsar@engin.umich.edu> [editor's note: one hunk from original patch was already applied] p5p-msgid: 199708020823.EAA19521@monk.mps.ohio-state.edu
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index f1c606be17..4eb69e3100 100644
--- a/perl.c
+++ b/perl.c
@@ -1625,6 +1625,10 @@ SV *sv;
# define SEARCH_EXTS ".bat", ".cmd", NULL
# define MAX_EXT_LEN 4
#endif
+#ifdef OS2
+# define SEARCH_EXTS ".cmd", ".btm", ".bat", ".pl", NULL
+# define MAX_EXT_LEN 4
+#endif
#ifdef VMS
# define SEARCH_EXTS ".pl", ".com", NULL
# define MAX_EXT_LEN 4