ruby-changes:15056
From: nobu <ko1@a...>
Date: Mon, 15 Mar 2010 07:51:26 +0900 (JST)
Subject: [ruby-changes:15056] Ruby:r26932 (trunk): * file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
nobu 2010-03-15 07:51:08 +0900 (Mon, 15 Mar 2010) New Revision: 26932 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26932 Log: * file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin. Modified files: trunk/ChangeLog trunk/file.c Index: ChangeLog =================================================================== --- ChangeLog (revision 26931) +++ ChangeLog (revision 26932) @@ -1,3 +1,7 @@ +Mon Mar 15 07:51:05 2010 Nobuyoshi Nakada <nobu@r...> + + * file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin. + Mon Mar 15 07:41:00 2010 Nobuyoshi Nakada <nobu@r...> * file.c (realpath_rec): use same cache. Index: file.c =================================================================== --- file.c (revision 26931) +++ file.c (revision 26932) @@ -5114,7 +5114,7 @@ rb_define_singleton_method(rb_cFile, "split", rb_file_s_split, 1); rb_define_singleton_method(rb_cFile, "join", rb_file_s_join, -2); -#ifdef FILE_ALT_SEPARATOR +#ifdef DOSISH rb_define_const(rb_cFile, "ALT_SEPARATOR", rb_obj_freeze(rb_usascii_str_new2(file_alt_separator))); #else rb_define_const(rb_cFile, "ALT_SEPARATOR", Qnil); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/