Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
authorPaolo Borelli <pborelli@katamail.com>
Wed, 25 Feb 2009 13:30:49 +0000 (13:30 +0000)
committerPaolo Borelli <pborelli@src.gnome.org>
Wed, 25 Feb 2009 13:30:49 +0000 (13:30 +0000)
2009-02-25  Paolo Borelli  <pborelli@katamail.com>

Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c

* glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.

svn path=/trunk/; revision=7910

gio/ChangeLog
gio/glocalfileinfo.c

index c7dca62d1e40ae7dffd16ec06f43ff9ae9f5013b..f15099e76454cbc33044e0ea5f0d7aba39fcc5cd 100644 (file)
@@ -1,3 +1,9 @@
+2009-02-25  Paolo Borelli  <pborelli@katamail.com>
+
+       Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
+
+       * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
+
 2009-02-23  Alexander Larsson  <alexl@redhat.com>
 
        * glocalfile.c:
index 7ecc9fccd81a07f93b757747d49ff8c7f4151f28..8cbfcf11d45d35a33b31c3f2522c0f12a1b6a5f8 100644 (file)
@@ -2171,7 +2171,7 @@ _g_local_file_info_set_attributes  (char                 *filename,
 #ifdef HAVE_UTIMES
   GFileAttributeValue *mtime, *mtime_usec, *atime, *atime_usec;
 #endif
-#if defined (HAVE_CHOWN) && defined (HAVE_UTIMES)
+#if defined (HAVE_CHOWN) || defined (HAVE_UTIMES)
   GFileAttributeStatus status;
 #endif
   gboolean res;