<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -84,7 +84,7 @@ void
 //object_del(void *key)
 object_del2(void *key, const char *file, int line)
 {
-    if (object_get(key) == Qnil) 
+    if (object_get(key) == Qnil)
         printf(&quot;failed deleting %ld. %s:%d\n&quot;, (long)key, file, line);
     //printf(&quot;deleting %ld. now contains %ld, %s:%d\n&quot;, (long)key, --hash_cnt, file, line);
     h_del(object_map, key);
@@ -138,7 +138,6 @@ void *frt_thread_getspecific(thread_key_t key)
 void frt_create_dir(VALUE rpath)
 {
     VALUE mFileUtils;
-    rb_require(&quot;fileutils&quot;);
     mFileUtils = rb_define_module(&quot;FileUtils&quot;);
     rb_funcall(mFileUtils, id_mkdir_p, 1, rpath);
 }
@@ -290,8 +289,8 @@ VALUE frt_get_term(const char *field, const char *text)
 static VALUE frt_term_to_s(VALUE self)
 {
     VALUE rstr;
-    VALUE rfield = rb_funcall(self, id_field, 0); 
-    VALUE rtext = rb_funcall(self, id_text, 0); 
+    VALUE rfield = rb_funcall(self, id_field, 0);
+    VALUE rtext = rb_funcall(self, id_text, 0);
     char *field = StringValuePtr(rfield);
     char *text = StringValuePtr(rtext);
     char *term_str = ALLOC_N(char,
@@ -328,6 +327,7 @@ void Init_Ferret(void)
 {
     mFerret = rb_define_module(&quot;Ferret&quot;);
     Init_Term();
+    rb_require(&quot;fileutils&quot;);
 }
 
 void Init_ferret_ext(void)</diff>
      <filename>ruby/ext/ferret.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d32187adafbcf89fc07f8d3d6c5bbbd33080bdd9</id>
    </parent>
  </parents>
  <author>
    <name>Ubiratan Pires Alberton</name>
    <email>u.alberton@gmail.com</email>
  </author>
  <url>http://github.com/Bira/ferret/commit/90b18df43747c2a857482703ee6554a3e426cd40</url>
  <id>90b18df43747c2a857482703ee6554a3e426cd40</id>
  <committed-date>2009-10-06T07:55:18-07:00</committed-date>
  <authored-date>2009-10-06T07:55:18-07:00</authored-date>
  <message>Move &quot;require fileutils&quot; statement to Init_Ferret, which increases performance.</message>
  <tree>ecf6bb5fdf586d0c5b9951c151b6ea0985636b06</tree>
  <committer>
    <name>Ubiratan Pires Alberton</name>
    <email>u.alberton@gmail.com</email>
  </committer>
</commit>
