From: Yui NARUSE Date: 2011-08-03T12:12:01+09:00 Subject: [ruby-core:38736] [Ruby 1.9 - Feature #5153][Open] Remove rb_add_suffix Issue #5153 has been reported by Yui NARUSE. ---------------------------------------- Feature #5153: Remove rb_add_suffix http://redmine.ruby-lang.org/issues/5153 Author: Yui NARUSE Status: Open Priority: Normal Assignee: Category: core Target version: 1.9.4 rb_add_suffix in util.c is GPL and obsoleted code, so I want to remove it. rb_add_suffix is drived from Perl's win32.c file and GPL/Artistic License. The code is used when ruby runs with -i (inplace option). Practically it works only when the renamed file can't create. (the validation is also a function of the code, but it is not essential) But this behavior is Windows specific. On other environment, ruby simply skip the file with a warning "Can't rename %s to %s: %s, skipping file". I think Windows should follow this. -- http://redmine.ruby-lang.org