mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
7533c275cb
commit
44895d6ea2
3 changed files with 5 additions and 3 deletions
|
@ -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>
|
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]
|
* test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]
|
||||||
|
|
2
dir.c
2
dir.c
|
@ -480,8 +480,6 @@ dir_path(VALUE dir)
|
||||||
|
|
||||||
#if defined HAVE_READDIR_R
|
#if defined HAVE_READDIR_R
|
||||||
# define READDIR(dir, enc, entry, dp) (readdir_r(dir, entry, &(dp)) == 0 && dp != 0)
|
# 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
|
#else
|
||||||
# define READDIR(dir, enc, entry, dp) ((dp = readdir(dir)) != 0)
|
# define READDIR(dir, enc, entry, dp) ((dp = readdir(dir)) != 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#define RUBY_VERSION "1.9.1"
|
#define RUBY_VERSION "1.9.1"
|
||||||
#define RUBY_PATCHLEVEL 336
|
#define RUBY_PATCHLEVEL 337
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
#define RUBY_VERSION_MINOR 9
|
#define RUBY_VERSION_MINOR 9
|
||||||
#define RUBY_VERSION_TEENY 1
|
#define RUBY_VERSION_TEENY 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue