diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-07 08:36:25 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-07 08:36:25 +0000 |
commit | be21fb457fcb4c7663e7544b2f208bcf4945be81 (patch) | |
tree | acf6ee316a1b09f255adfb06e2254fcc600ee668 /fileset.c | |
parent | 1ad97925036d5d22351774059acbb91765cc081e (diff) |
Use eth_dir_open(), not g_dir_open(); g_dir_open() isn't available in
GLib 1.2[.x].
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16412 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'fileset.c')
-rw-r--r-- | fileset.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ #include <glib.h> -#include "file_util.h" +#include <wiretap/file_util.h> #include "globals.h" #include <epan/filesystem.h> @@ -259,7 +259,7 @@ fileset_add_dir(const char *fname) /* is the current file probably a part of any fileset? */ if(fileset_filename_match_pattern(fname)) { /* yes, go through the files in the directory and check if the file in question is part of the current file set */ - if ((dir = g_dir_open(dirname->str, 0, NULL)) != NULL) { + if ((dir = eth_dir_open(dirname->str, 0, NULL)) != NULL) { while ((file = eth_dir_read_name(dir)) != NULL) { name = eth_dir_get_name(file); if(fileset_filename_match_pattern(name) && fileset_is_file_in_set(name, get_basename(fname))) { |