summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-08 01:52:11 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-08 01:52:11 +0000
commit933d553de00aca76b93230cf9c37780cbe788693 (patch)
treec3ba3d1e5548a64582c7459804ddcc59300eeff6 /dir.c
parent64cfcd7c63c2166fff473afc2c274182cce5926f (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index a868b27845..f5a15e2301 100644
--- a/dir.c
+++ b/dir.c
@@ -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