Revision: 1864
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1864&view=rev
Author:   nadvornik
Date:     2009-10-01 18:40:34 +0000 (Thu, 01 Oct 2009)

Log Message:
-----------
ignored multiple directories specified on commandline

IMHO this was inconsistent - specifying one directory had completely
different effect than specifying two or more directories. Moreover,
it segfaulted.
Now only one directory is allowed.

Modified Paths:
--------------
    trunk/src/main.c

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c    2009-10-01 17:37:51 UTC (rev 1863)
+++ trunk/src/main.c    2009-10-01 18:40:34 UTC (rev 1864)
@@ -132,6 +132,9 @@
 static void parse_command_line_add_dir(const gchar *dir, gchar **path, gchar 
**file,
                                       GList **list)
 {
+#if 0
+       /* This is broken because file filter is not initialized yet.
+       */
        GList *files;
        gchar *path_parsed;
        FileData *dir_fd;
@@ -164,6 +167,9 @@
 
        g_free(path_parsed);
        file_data_unref(dir_fd);
+#else
+       DEBUG_1("multiple directories specified, ignoring: %s", dir);
+#endif
 }
 
 static void parse_command_line_process_dir(const gchar *dir, gchar **path, 
gchar **file,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to