зеркало из https://github.com/github/ruby.git
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:
Родитель
a857b11ded
Коммит
3d7a535440
1
file.c
1
file.c
|
@ -2887,7 +2887,6 @@ rb_file_s_rename(VALUE klass, VALUE from, VALUE to)
|
|||
#if defined DOSISH
|
||||
switch (e) {
|
||||
case EEXIST:
|
||||
#endif
|
||||
if (chmod(dst, 0666) == 0 &&
|
||||
unlink(dst) == 0 &&
|
||||
rename(src, dst) == 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче