aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/help_dlg.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-21 06:39:18 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-21 06:39:18 +0000
commit28f66c180b639cc95054e978f6b3e5bb9298666e (patch)
treea006906797b6fd55a738b1c3e653f46a2a15ce31 /gtk/help_dlg.c
parent5bfb7b43f6d22ec2e52c81be7835424403ad17ed (diff)
On Windows, use the directory in which the binary resides as the
directory in which global data files are stored. If an installed binary is being run, that's the correct directory for them; if a build-tree binary is being run, the "manuf" file will be there, and you can put other data files there as well, if necessary. Do the same with plugins, except that, if there's no "plugins\\{version}" subdirectory of that directory, fall back on the default installation directory, so you at least have a place where you can put plugins for use by build-tree binaries. (Should we, instead, have the Windows build procedure create a subdirectory of the "plugins" source directory, with the plugin version number as its name, and copy the plugins there, so you'd use the build-tree plugin binaries?) Move "test_for_directory()" out of "util.c" and into "epan/filesystem.c", with the other file system access portability wrappers and convenience routines. Fix "util.h" not to declare it - or other routines moved to "epan/filesystem.c" a while ago. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3858 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/help_dlg.c')
-rw-r--r--gtk/help_dlg.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/help_dlg.c b/gtk/help_dlg.c
index 969a3d5b18..0cbd11554f 100644
--- a/gtk/help_dlg.c
+++ b/gtk/help_dlg.c
@@ -1,11 +1,11 @@
/* help_dlg.c
*
- * $Id: help_dlg.c,v 1.17 2001/05/12 19:45:37 gerald Exp $
+ * $Id: help_dlg.c,v 1.18 2001/08/21 06:39:18 guy Exp $
*
* Laurent Deniel <deniel@worldnet.fr>
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 2000 Gerald Combs
*
* This program is free software; you can redistribute it and/or
@@ -21,7 +21,6 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
*/
#ifdef HAVE_CONFIG_H
@@ -46,7 +45,6 @@
#include "globals.h"
#include "gtkglobals.h"
#include "main.h"
-#include "util.h"
#include "ui_util.h"
#include "proto.h"