diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-13 10:40:06 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-13 10:40:06 +0000 |
commit | d20bc9f4d2d2bfe435ccf3318cc72ad2c3b82fa8 (patch) | |
tree | 03187816221546a103173cf1750f094e00c6e5d4 /ChangeLog | |
parent | e850d8aced07be7ac2911acc8375e941d1f86b33 (diff) |
* win32/win32.c (rb_w32_mkdir): should set EEXIST (not EACCES)
if file or directory already exists. (bcc32)
* win32/win32.c (rb_w32_rmdir): should set ENOTDIR (not EINVAL)
if it is not directory. (bcc32, win32)
* win32/win32.c (rb_w32_rmdir, rb_w32_unlink): restore
FILE_ATTRIBUTE_READONLY flag on function failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Wed Jul 13 19:37:47 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * win32/win32.c (rb_w32_mkdir): should set EEXIST (not EACCES) + if file or directory already exists. (bcc32) + + * win32/win32.c (rb_w32_rmdir): should set ENOTDIR (not EINVAL) + if it is not directory. (bcc32, win32) + + * win32/win32.c (rb_w32_rmdir, rb_w32_unlink): restore + FILE_ATTRIBUTE_READONLY flag on function failure. + Wed Jul 13 12:40:00 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tcltklib/tcltklib.c: TclTkLib.do_one_event doesn't work. |