Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk dfilter_expr_dlg.c file_dlg.c help_dlg.c
guy 2001/08/21 01:39:20 CDT
Modified files:
gtk dfilter_expr_dlg.c file_dlg.c help_dlg.c
packet_win.c prefs_dlg.c stream_prefs.c
Log:
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.
Revision Changes Path
1.23 +2 -4 ethereal/gtk/dfilter_expr_dlg.c
1.41 +3 -2 ethereal/gtk/file_dlg.c
1.18 +2 -4 ethereal/gtk/help_dlg.c
1.22 +2 -4 ethereal/gtk/packet_win.c
1.25 +2 -4 ethereal/gtk/prefs_dlg.c
1.9 +2 -4 ethereal/gtk/stream_prefs.c