|
| 1 | +Tue Sep 1 17:24:05 2009 NAKAMURA Usaku <usa@ruby-lang.org> |
| 2 | + |
| 3 | + * win32/win32.c (rb_w32_opendir, link, rb_w32_stati64, rb_w32_utime, |
| 4 | + rb_w32_unlink): use WCHAR path internally. |
| 5 | + |
| 6 | + * win32/win32.c, include/ruby/win32.h (rb_w32_wchown, rb_w32_wlink, |
| 7 | + rb_w32_wstati64, rb_w32_wutime, rb_w32_wunlink): new functions those |
| 8 | + accept WCHAR path. |
| 9 | + |
| 10 | + * file.c (rb_stat, eaccess, access_internal, rb_file_s_ftype, |
| 11 | + chmod_internal, rb_file_chmod, rb_file_chown, utime_internal, |
| 12 | + rb_file_s_link, unlink_internal, rb_file_s_rename): use WCHAR version |
| 13 | + runtime functions on Win32. |
| 14 | + |
| 15 | + * file.c (rb_str_conv_for_path): guarantee that the return path always |
| 16 | + ended with NUL charcter. |
| 17 | + |
| 18 | + * file.c (apply2files, rb_stat, rb_file_s_lstat, rb_file_symlink_p, |
| 19 | + rb_file_readable_p, rb_file_writable_p, rb_file_executable_p, |
| 20 | + check3rdbyte, rb_file_identical_p, rb_file_chmod, rb_file_chown, |
| 21 | + rb_file_s_link, rb_file_s_symlink, rb_file_s_rename): call |
| 22 | + rb_str_conv_for_path() before passing the path to system, and |
| 23 | + simple use RSTRING_PTR() instead of StringValueCStr(). |
| 24 | + |
1 | 25 | Wed Aug 26 13:19:41 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
2 | 26 |
|
3 | 27 | * file.c (rb_str_conv_for_path): should check necessity of converting
|
|
0 commit comments