+2004-11-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
+ S_IFMT and S_IFREG are apprarently missing on some systems (they
+ are SUS, but not Posix). (#158263)
+
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
+2004-11-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
+ S_IFMT and S_IFREG are apprarently missing on some systems (they
+ are SUS, but not Posix). (#158263)
+
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
+2004-11-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
+ S_IFMT and S_IFREG are apprarently missing on some systems (they
+ are SUS, but not Posix). (#158263)
+
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
+2004-11-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
+ S_IFMT and S_IFREG are apprarently missing on some systems (they
+ are SUS, but not Posix). (#158263)
+
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
+2004-11-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
+ S_IFMT and S_IFREG are apprarently missing on some systems (they
+ are SUS, but not Posix). (#158263)
+
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
return FALSE;
}
- if ((stat_buf.st_mode & S_IFMT) != S_IFREG)
+ if (!S_ISREG (stat_buf.st_mode))
{
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_PARSE,