Wireshark-dev: [Wireshark-dev] r45615: Read the program name rather than hardcoding it
From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Wed, 17 Oct 2012 16:45:05 +0200
Hi,

I'm not sure if it's correct:

#v+
+  program_name = g_strdup(g_get_prgname());

   persconffile_dir = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s",
-     appdatadir, PF_DIR);
+     appdatadir, program_name);
+  g_free(program_name);

#v-

I think we want the same configuration directory both for wireshark and tshark.