Patch that eliminates some unnecessary book searches
- From: Russell Shaw <rjshaw netspace net au>
- To: gnome-devtools gnome org
- Subject: Patch that eliminates some unnecessary book searches
- Date: Tue, 22 Jun 2004 18:02:13 +1000
diff -ru devhelp/src/dh-base.c devhelp-new/src/dh-base.c
--- devhelp/src/dh-base.c Tue Jun 22 17:51:48 2004
+++ devhelp-new/src/dh-base.c Tue Jun 22 17:40:04 2004
@@ -269,6 +269,11 @@
gnome_vfs_file_info_unref (info);
continue;
}
+
+ if(strcmp(info->name,".") == 0)
+ continue;
+ if(strcmp(info->name,"..") == 0)
+ continue;
book_path = g_strdup_printf ("%s/%s/%s.devhelp",
directory,
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]