From 0ecd3695303283477a5ccb6a7b5e804aebf2a330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Pettersen?= Date: Sat, 6 Mar 1999 10:05:32 +0000 Subject: [PATCH] add OS/2 changes --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gutils.c | 4 ++++ gutils.c | 4 ++++ 10 files changed, 48 insertions(+) diff --git a/ChangeLog b/ChangeLog index 448c2455d..f9b8b0664 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 448c2455d..f9b8b0664 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sat Mar 6 11:03:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * gutils.c (g_get_any_init): add OS/2 changes. + change '\\' in HOME to '/'. + 1999-03-03 Josh MacDonald * glib.def: g_spaced_primes_closest was omitted here, so I diff --git a/glib/gutils.c b/glib/gutils.c index b36181401..5ac16ed10 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -533,6 +533,10 @@ g_get_any_init (void) #endif /* !HAVE_PWD_H */ +#ifdef __EMX__ + /* change '\\' in %HOME% to '/' */ + g_strdelimit (g_home_dir, "\\",'/'); +#endif if (!g_user_name) g_user_name = g_strdup ("somebody"); if (!g_real_name) diff --git a/gutils.c b/gutils.c index b36181401..5ac16ed10 100644 --- a/gutils.c +++ b/gutils.c @@ -533,6 +533,10 @@ g_get_any_init (void) #endif /* !HAVE_PWD_H */ +#ifdef __EMX__ + /* change '\\' in %HOME% to '/' */ + g_strdelimit (g_home_dir, "\\",'/'); +#endif if (!g_user_name) g_user_name = g_strdup ("somebody"); if (!g_real_name)