diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-03-25 21:12:51 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-04-02 22:19:00 +0000 |
commit | 04a4b535093895bb825fcf98390737b000331541 (patch) | |
tree | 3d1d7635959a153b30cc7e706f9545700d4a62ea /ui | |
parent | ae9e3114802d8a758a335df664ddff13f4037e61 (diff) |
Use AC_CHECK_MEMBERS
Change-Id: I18779ad869c97a6ddd12e39fe2f7a1f7b0c8cf56
Reviewed-on: https://code.wireshark.org/review/14754
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/file_dlg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/file_dlg.c b/ui/gtk/file_dlg.c index aff41f0098..47e443dcff 100644 --- a/ui/gtk/file_dlg.c +++ b/ui/gtk/file_dlg.c @@ -304,9 +304,9 @@ file_target_unwritable_ui(GtkWidget *chooser_w, char *cf_name) return TRUE; } - /* OK, we have the permission bits and, if HAVE_ST_FLAGS is defined, + /* OK, we have the permission bits and, if HAVE_STAT_ST_FLAGS is defined, the flags. (If we don't, we don't worry about it.) */ -#ifdef HAVE_ST_FLAGS +#ifdef HAVE_STAT_ST_FLAGS if (statbuf.st_flags & UF_IMMUTABLE) { display_basename = g_filename_display_basename(cf_name); msg_dialog = gtk_message_dialog_new(GTK_WINDOW(chooser_w), @@ -325,7 +325,7 @@ file_target_unwritable_ui(GtkWidget *chooser_w, char *cf_name) display_basename); g_free(display_basename); } else -#endif /* HAVE_ST_FLAGS */ +#endif /* HAVE_STAT_ST_FLAGS */ if ((statbuf.st_mode & (S_IWUSR|S_IWGRP|S_IWOTH)) == 0) { display_basename = g_filename_display_basename(cf_name); msg_dialog = gtk_message_dialog_new(GTK_WINDOW(chooser_w), @@ -358,7 +358,7 @@ file_target_unwritable_ui(GtkWidget *chooser_w, char *cf_name) return FALSE; } -#ifdef HAVE_ST_FLAGS +#ifdef HAVE_STAT_ST_FLAGS /* OK, they want to overwrite the file. If it has the "user immutable" flag, we have to turn that off first, so we can move on top of, or overwrite, the file. */ |