dumping ground for random patches and texts
 help / color / mirror / Atom feed
* [PATCH] load.c: match comment with variable (`e' => `ext')
@ 2015-08-12 23:42 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-08-12 23:42 UTC (permalink / raw)
  To: spew

---
 load.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/load.c b/load.c
index a67fb38..47c3bfe 100644
--- a/load.c
+++ b/load.c
@@ -215,8 +215,8 @@ features_index_add_single(VALUE short_feature, VALUE offset)
 /* Add to the loaded-features index all the required entries for
    `feature`, located at `offset` in $LOADED_FEATURES.  We add an
    index entry at each string `short_feature` for which
-     feature == "#{prefix}#{short_feature}#{e}"
-   where `e` is empty or matches %r{^\.[^./]*$}, and `prefix` is empty
+     feature == "#{prefix}#{short_feature}#{ext}"
+   where `ext` is empty or matches %r{^\.[^./]*$}, and `prefix` is empty
    or ends in '/'.  This maintains the invariant that `rb_feature_p()`
    relies on for its fast lookup.
 */
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-12 23:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 23:42 [PATCH] load.c: match comment with variable (`e' => `ext') Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).