summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--load.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e64e02a3c..914b44b3f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -129,7 +129,7 @@ Mon Nov 5 23:28:57 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* load.c (rb_construct_expanded_load_path): fix for compatibility.
Same checks in rb_get_path_check() are added. We don't replace
$LOAD_PATH and ensure that String object of $LOAD_PATH are frozen.
- We don't freeze non String object and expand it every times. We add
+ We don't freeze non String object and expand it every time. We add
arguments for expanding load path partially and checking if load path
have relative paths or non String objects.
@@ -139,7 +139,7 @@ Mon Nov 5 23:28:57 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* load.c (rb_get_expanded_load_path): fix for rebuilding cache properly.
We check if current working directory is changed and rebuild expanded
load path cache. We expand paths which start with ~ (User HOME) and
- non String objects every times for compatibility. We make this
+ non String objects every time for compatibility. We make this
accessible from other source files.
* load.c (rb_feature_provided): call rb_get_path() since we changed
diff --git a/load.c b/load.c
index 650b931661..827679ebac 100644
--- a/load.c
+++ b/load.c
@@ -42,7 +42,7 @@ enum expand_type {
/* Construct expanded load path and store it to cache.
We rebuild load path partially if the cache is invalid.
- We don't cache non string object and expand it every times. We ensure that
+ We don't cache non string object and expand it every time. We ensure that
string objects in $LOAD_PATH are frozen.
*/
static void
@@ -81,7 +81,7 @@ rb_construct_expanded_load_path(int type, int *has_relative, int *has_non_cache)
*has_relative = 1;
if (!*has_non_cache && non_cache)
*has_non_cache = 1;
- /* Freeze only string object. We expand other objects every times. */
+ /* Freeze only string object. We expand other objects every time. */
if (is_string)
rb_str_freeze(path);
as_str = rb_get_path_check_convert(path, as_str, level);