diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 01:52:11 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 01:52:11 +0000 |
commit | 933d553de00aca76b93230cf9c37780cbe788693 (patch) | |
tree | c3ba3d1e5548a64582c7459804ddcc59300eeff6 /dir.c | |
parent | 64cfcd7c63c2166fff473afc2c274182cce5926f (diff) | |
download | ruby-933d553de00aca76b93230cf9c37780cbe788693.tar.gz |
* dir.c (Next): use rb_enc_mbclen. [ruby-dev:35390]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ char *strchr(char*,char); #define FNM_NOMATCH 1 #define FNM_ERROR 2 -# define Next(p, e, enc) (p + rb_enc_precise_mbclen(p, e, enc)) +# define Next(p, e, enc) (p + rb_enc_mbclen(p, e, enc)) # define Inc(p, e, enc) ((p) = Next(p, e, enc)) static int |