[glib] Remove alleged support for OS/2



commit 57969f4b251d14eaa3d154842f208dde4cc525a7
Author: Dan Winship <danw gnome org>
Date:   Sat Oct 19 13:03:46 2013 -0400

    Remove alleged support for OS/2
    
    In particular, remove the OS/2 GModule implementation (which AFAICT
    was never actually built even on OS/2).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710519

 glib/gutils.c               |    4 -
 gmodule/Makefile.am         |    1 -
 gmodule/gmodule-os2.c       |  144 -------------------------------------------
 gmodule/gmoduleconf.h.in    |    1 -
 gmodule/gmoduleconf.h.win32 |    1 -
 5 files changed, 0 insertions(+), 151 deletions(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index 3485ec2..ada9065 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -788,10 +788,6 @@ g_get_user_database_entry (void)
 
 #endif /* !HAVE_PWD_H */
 
-#ifdef __EMX__
-      /* change '\\' in %HOME% to '/' */
-      g_strdelimit (e.home_dir, "\\",'/');
-#endif
       if (!e.user_name)
         e.user_name = g_strdup ("somebody");
       if (!e.real_name)
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am
index 6acd846..4b68b3d 100644
--- a/gmodule/Makefile.am
+++ b/gmodule/Makefile.am
@@ -15,7 +15,6 @@ EXTRA_DIST +=                         \
                gmodule-dl.c            \
                gmodule-dld.c           \
                gmodule-dyld.c          \
-               gmodule-os2.c           \
                gmodule-win32.c         \
                gmodule-beos.c          \
                gmodule-ar.c            \
diff --git a/gmodule/gmoduleconf.h.in b/gmodule/gmoduleconf.h.in
index 168cf23..bdfb2e0 100644
--- a/gmodule/gmoduleconf.h.in
+++ b/gmodule/gmoduleconf.h.in
@@ -29,7 +29,6 @@ extern "C" {
 #define        G_MODULE_IMPL_DL        1
 #define        G_MODULE_IMPL_DLD       2
 #define        G_MODULE_IMPL_WIN32     3
-#define        G_MODULE_IMPL_OS2       4
 #define        G_MODULE_IMPL_BEOS      5
 #define        G_MODULE_IMPL_DYLD      6
 #define        G_MODULE_IMPL_AR        7
diff --git a/gmodule/gmoduleconf.h.win32 b/gmodule/gmoduleconf.h.win32
index 18bee9b..b0d2181 100644
--- a/gmodule/gmoduleconf.h.win32
+++ b/gmodule/gmoduleconf.h.win32
@@ -29,7 +29,6 @@ extern "C" {
 #define        G_MODULE_IMPL_DL        1
 #define        G_MODULE_IMPL_DLD       2
 #define        G_MODULE_IMPL_WIN32     3
-#define        G_MODULE_IMPL_OS2       4
 #define        G_MODULE_IMPL_BEOS      5
 #define        G_MODULE_IMPL_DYLD      6
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]