summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-30 07:54:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-30 07:54:26 +0000
commit7b5ea0ec2f6c4f016e14cf6b61544f9e58d07beb (patch)
treedfc921c6c63ae946b210f11a8335f14bf1069636 /dln.c
parent9713d84b5b0f248cdc9147a3b05d6749c28bfef8 (diff)
* configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from
dln.c:dln_find_1(). * lib/mkmf.rb (def find_executable0): use EXECUTABLE_EXTS, not only EXEEXT. [ruby-core:26821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index a5c7615df4..7409ce30e3 100644
--- a/dln.c
+++ b/dln.c
@@ -1552,7 +1552,7 @@ dln_find_1(const char *fname, const char *path, char *fbuf, size_t size,
size_t i, fspace;
#ifdef DOSISH
static const char extension[][5] = {
- ".exe", ".com", ".cmd", ".bat",
+ EXECUTABLE_EXTS,
};
size_t j;
int is_abs = 0, has_path = 0;