Patch that eliminates some unnecessary book searches

Russell Shaw <[email protected]>
Newsgroups gmane.comp.gnome.devtools
Message-ID <[email protected]>
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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.