1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
usa 6c28f99d88 * merge some patches from win32-uncode-test branch.
see #1685.

* file.c, include/ruby/intern.h (rb_str_encode_ospath): new function
  to convert encoding for pathname.

* win32.c, include/ruby/win32.h (rb_w32_ulink, rb_w32_urename,
  rb_w32_ustati64, rb_w32_uopen, rb_w32_uutime, rb_w32_uchdir,
  rb_w32_umkdir, rb_w32_urmdir, rb_w32_uunlink): new functions to
  accept UTF-8 path.

* win32/win32.c (rb_w32_opendir, link, rb_w32_stati64, rb_w32_utime,
  rb_w32_unlink): use WCHAR path internally.

* file.c (rb_stat, eaccess, access_internal, rb_file_s_ftype,
  chmod_internal, rb_file_chmod, rb_file_chown, utime_internal,
  rb_file_s_link, unlink_internal, rb_file_s_rename): use UTF-8 version
  functions on Win32.

* file.c (apply2files, rb_stat, rb_file_s_lstat, rb_file_symlink_p,
  rb_file_readable_p, rb_file_writable_p, rb_file_executable_p,
  check3rdbyte, rb_file_identical_p, rb_file_chmod, rb_file_chown,
  rb_file_s_link, rb_file_s_symlink, rb_file_s_rename): call
  rb_str_encode_ospath() before passing the path to system.

* io.c (rb_sysopen): ditto.

* dir.c (dir_chdir, dir_s_mkdir, dir_s_rmdir): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30 17:56:23 +00:00
..
backward
defines.h * include/ruby/defines.h (INFINITY): this is float. 2009-12-30 10:44:02 +00:00
encoding.h * include/ruby/encoding.h (rb_str_conv_enc_opts): missing prototype. 2010-03-16 08:18:47 +00:00
intern.h * merge some patches from win32-uncode-test branch. 2010-04-30 17:56:23 +00:00
io.h * include/ruby/io.h (MakeOpenFile): finalize fptr get rid of 2010-03-13 03:26:18 +00:00
missing.h * include/ruby/ruby.h: replace snprintf and vsnprintf by 2010-04-04 01:10:53 +00:00
oniguruma.h * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. 2010-03-01 21:54:59 +00:00
re.h * include/ruby/oniguruma.h, include/ruby/re.h, re.c, regcomp.c, 2009-06-30 02:08:54 +00:00
regex.h
ruby.h * include/ruby/ruby.h ({RSTRING,RSTRUCT,RBIGNUM}_LENINT): check long 2010-04-28 07:45:00 +00:00
st.h * version.c (RUBY_LIB, RUBY_*_LIB): moved from configures. 2010-01-25 08:36:14 +00:00
util.h Add Float::INFINITY and Float::NAN. 2009-12-29 07:05:39 +00:00
version.h * include/ruby/version.h: extracted the extensions interface and 2009-05-13 06:23:20 +00:00
vm.h * common.mk (eval.o): needs vm.h. 2009-09-18 07:29:17 +00:00
win32.h * merge some patches from win32-uncode-test branch. 2010-04-30 17:56:23 +00:00