mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
merges r23906 from trunk into ruby_1_9_1.
-- * dln.c (dln_find_1): fixed index overrun. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61c0c7ab5d
commit
149e1593e9
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jun 30 11:05:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* dln.c (dln_find_1): fixed index overrun.
|
||||
|
||||
Mon Jun 29 18:55:55 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* dln.c (dln_find_1): fix for files with dots. [ruby-dev:38588]
|
||||
|
|
4
dln.c
4
dln.c
|
@ -1564,8 +1564,8 @@ dln_find_1(const char *fname, const char *path, char *fbuf, int size,
|
|||
}
|
||||
}
|
||||
if (ext) {
|
||||
for (j = 0; STRCASECMP(ext, extension[j]); j++) {
|
||||
if (j == sizeof(extension) / sizeof(extension[0])) {
|
||||
for (j = 0; STRCASECMP(ext, extension[j]); ) {
|
||||
if (++j == sizeof(extension) / sizeof(extension[0])) {
|
||||
ext = 0;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "1.9.1"
|
||||
#define RUBY_RELEASE_DATE "2009-07-12"
|
||||
#define RUBY_PATCHLEVEL 210
|
||||
#define RUBY_PATCHLEVEL 211
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
#define RUBY_VERSION_MINOR 9
|
||||
#define RUBY_VERSION_TEENY 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue