From: Run Paint Run Run Date: 2009-06-13T10:29:09+09:00 Subject: [ruby-core:23833] [Bug #1620] [PATCH] Kernel.require Normalises Paths in 1.9 Bug #1620: [PATCH] Kernel.require Normalises Paths in 1.9 http://redmine.ruby-lang.org/issues/show/1620 Author: Run Paint Run Run Status: Open, Priority: Low Category: DOC ruby -v: ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux] diff --git a/load.c b/load.c index 5f9d4f2..c87775d 100644 --- a/load.c +++ b/load.c @@ -416,10 +416,10 @@ load_unlock(const char *ftptr, int done) * the current platform, Ruby loads the shared library as a Ruby * extension. Otherwise, Ruby tries adding ``.rb'', ``.so'', and so on * to the name. The name of the loaded feature is added to the array in - * $". A feature will not be loaded if it's name already - * appears in $". However, the file name is not converted - * to an absolute path, so that ``require 'a';require - * './a''' will load a.rb twice. + * $". A feature will not be loaded if its name already + * appears in $". The file name is converted to an absolute + * path, so ``require 'a'; require './a''' will not load + * a.rb twice. * * require "my-library.rb" * require "db-driver" ---------------------------------------- http://redmine.ruby-lang.org