file.c: fix compile error
* file.c (rb_file_s_rename): remove unmatched endif not removed at r52161. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a857b11ded
commit
3d7a535440
1
file.c
1
file.c
@ -2887,7 +2887,6 @@ rb_file_s_rename(VALUE klass, VALUE from, VALUE to)
|
|||||||
#if defined DOSISH
|
#if defined DOSISH
|
||||||
switch (e) {
|
switch (e) {
|
||||||
case EEXIST:
|
case EEXIST:
|
||||||
#endif
|
|
||||||
if (chmod(dst, 0666) == 0 &&
|
if (chmod(dst, 0666) == 0 &&
|
||||||
unlink(dst) == 0 &&
|
unlink(dst) == 0 &&
|
||||||
rename(src, dst) == 0)
|
rename(src, dst) == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user