summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-08 01:58:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-08 01:58:44 +0000
commitaac0b43ed583f5091faa3a323261090766de566c (patch)
tree6bda8194bbfdcdf54fab3e95ee338d5493c7087d /internal.h
parent6502c038157f7357c9e06a1446029a24f3bb8fcb (diff)
file.c: realpath in OS path encoding
* dir.c (rb_dir_getwd_ospath): return cwd path in the OS path encoding. * file.c (rb_realpath_internal): work in the OS path encoding git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index d034004f76..cc1d97534b 100644
--- a/internal.h
+++ b/internal.h
@@ -1088,6 +1088,9 @@ void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(ANYARGS), VALUE
/* debug.c */
PRINTF_ARGS(void ruby_debug_printf(const char*, ...), 1, 2);
+/* dir.c */
+VALUE rb_dir_getwd_ospath(void);
+
/* dmyext.c */
void Init_enc(void);
void Init_ext(void);