* dir.c (READDIR): this branch doesn't have rb_w32_readdir_with_enc().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2009-11-17 06:47:58 +00:00
parent 7533c275cb
commit 44895d6ea2
3 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 17 15:46:23 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* dir.c (READDIR): this branch doesn't have rb_w32_readdir_with_enc().
Fri Sep 18 07:06:41 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]

2
dir.c
View file

@ -480,8 +480,6 @@ dir_path(VALUE dir)
#if defined HAVE_READDIR_R
# define READDIR(dir, enc, entry, dp) (readdir_r(dir, entry, &(dp)) == 0 && dp != 0)
#elif defined _WIN32
# define READDIR(dir, enc, entry, dp) ((dp = rb_w32_readdir_with_enc(dir, enc)) != 0)
#else
# define READDIR(dir, enc, entry, dp) ((dp = readdir(dir)) != 0)
#endif

View file

@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.1"
#define RUBY_PATCHLEVEL 336
#define RUBY_PATCHLEVEL 337
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9
#define RUBY_VERSION_TEENY 1