From 0f70a1c7ea8d276b30bb5b6d3c6596a021f9fef3 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 21 Feb 2003 16:32:32 +0000 Subject: [PATCH] * utilunix.c (destroy_groups): Revert last change, it doesn't work with glib-1.2.x. --- src/ChangeLog | 5 +++++ src/utilunix.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2f6ea02ca..5fe3aad3b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-02-21 Pavel Roskin + + * utilunix.c (destroy_groups): Revert last change, it doesn't + work with glib-1.2.x. + 2003-02-19 Andrew V. Samoilov * option.c (init_configure): Use OTHER_OPTIONS consistently. diff --git a/src/utilunix.c b/src/utilunix.c index 8c5ff1cc9..20368db9a 100644 --- a/src/utilunix.c +++ b/src/utilunix.c @@ -123,7 +123,7 @@ get_user_permissions (struct stat *buf) { void destroy_groups (void) { - g_tree_foreach (current_user_gid, mc_gid_destroy, NULL); + g_tree_traverse (current_user_gid, mc_gid_destroy, G_POST_ORDER, NULL); g_tree_destroy (current_user_gid); }