edit: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;C520315 File: Initializers.Generated.cs =================================================================== --- $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;C520315 (server) 8/8/2008 11:17 AM +++ Shelved Change: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;readlink @@ -1246,6 +1246,10 @@ new System.Func(Ruby.Builtins.RubyFileOps.IsReadable), }); + module.DefineLibraryMethod("readlink", 0x31, new System.Delegate[] { + new System.Func(Ruby.Builtins.RubyFileOps.Readlink), + }); + module.DefineLibraryMethod("rename", 0x31, new System.Delegate[] { new System.Func(Ruby.Builtins.RubyFileOps.Rename), new System.Func(Ruby.Builtins.RubyFileOps.Rename), @@ -4098,6 +4102,10 @@ }); module.DefineLibraryMethod("index", 0x29, new System.Delegate[] { + new System.Func(Ruby.Builtins.MutableStringOps.Index), + new System.Func(Ruby.Builtins.MutableStringOps.Index), + new System.Func(Ruby.Builtins.MutableStringOps.Index), + new System.Func(Ruby.Builtins.MutableStringOps.Index), new System.Func(Ruby.Builtins.MutableStringOps.Index), new System.Func(Ruby.Builtins.MutableStringOps.Index), new System.Func(Ruby.Builtins.MutableStringOps.Index), @@ -4106,10 +4114,6 @@ new System.Func(Ruby.Builtins.MutableStringOps.Index), new System.Func(Ruby.Builtins.MutableStringOps.Index), new System.Func(Ruby.Builtins.MutableStringOps.Index), - new System.Func(Ruby.Builtins.MutableStringOps.Index), - new System.Func(Ruby.Builtins.MutableStringOps.Index), - new System.Func(Ruby.Builtins.MutableStringOps.Index), - new System.Func(Ruby.Builtins.MutableStringOps.Index), }); module.DefineLibraryMethod("initialize", 0x2a, new System.Delegate[] { =================================================================== edit: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/FileOps.cs;C522961 File: FileOps.cs =================================================================== --- $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/FileOps.cs;C522961 (server) 8/7/2008 9:11 AM +++ Shelved Change: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/FileOps.cs;readlink @@ -570,7 +570,10 @@ return RubyStatOps.IsReadable(RubyStatOps.Create(context, path)); } - //readlink + [RubyMethod("readlink", RubyMethodAttributes.PublicSingleton)] + public static bool Readlink(CodeContext/*!*/ context, object self, [NotNull]MutableString/*!*/ path) { + throw new Ruby.Builtins.NotImplementedError("readlink() function is unimplemented on this machine"); + } [RubyMethod("rename", RubyMethodAttributes.PublicSingleton)] public static int Rename(CodeContext/*!*/ context, object/*!*/ self, [NotNull]MutableString/*!*/ oldPath, [NotNull]MutableString/*!*/ newPath) { ===================================================================