diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-06-21 03:36:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-21 03:36:52 +0000 |
commit | a4768daec1b55141dcfd759a505fc01709f22b0d (patch) | |
tree | af88bf9fad332ddb031292dfaa28c2c5685090bb | |
parent | 1dbcd037c87c23af5db178dd079ff31680fb2da8 (diff) | |
download | gtk+-a4768daec1b55141dcfd759a505fc01709f22b0d.tar.gz |
Handle missing MAP_FAILED. (#308449, Georg Schwarz)
2005-06-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg
Schwarz)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtkiconcache.c | 4 | ||||
-rw-r--r-- | gtk/xdgmime/ChangeLog | 5 | ||||
-rw-r--r-- | gtk/xdgmime/xdgmimecache.c | 4 |
6 files changed, 28 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkiconcache.c: Handle MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * configure.in: Bump version number. * === Released 2.7.0 === diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3c71d3e957..afd1bded1e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkiconcache.c: Handle MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * configure.in: Bump version number. * === Released 2.7.0 === diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 3c71d3e957..afd1bded1e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkiconcache.c: Handle MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * configure.in: Bump version number. * === Released 2.7.0 === diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index d52251c5a3..9eb58cce2e 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -42,6 +42,10 @@ #define _O_BINARY 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + #define MAJOR_VERSION 1 #define MINOR_VERSION 0 diff --git a/gtk/xdgmime/ChangeLog b/gtk/xdgmime/ChangeLog index 8af43ed4da..5d2f23aef4 100644 --- a/gtk/xdgmime/ChangeLog +++ b/gtk/xdgmime/ChangeLog @@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * === Released 2.7.0 === 2005-06-10 Federico Mena Quintero <federico@ximian.com> diff --git a/gtk/xdgmime/xdgmimecache.c b/gtk/xdgmime/xdgmimecache.c index 9992f02ac3..4f09a4b073 100644 --- a/gtk/xdgmime/xdgmimecache.c +++ b/gtk/xdgmime/xdgmimecache.c @@ -65,6 +65,10 @@ #define _O_BINARY 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + #define MAJOR_VERSION 1 #define MINOR_VERSION 0 |