Patch to avoid history duplicates applied

Andrew V. Samoilov sav at bcs.zp.ua
Fri Feb 21 12:48:23 UTC 2003


Pavel Roskin wrote:
> Hello!
> 
> I have applied a patch to avoid duplicates in the history.  Unlike the
> patch posted on Savannah, it affects both the input widgets and the
> directory history.
> 
> As a side effect, the lists used for history were converted to GList
> (double linked list from glib).
> 
> Also, Alt-O writes the directory history now.
> 
         * utilunix.c (destroy_groups): Use g_tree_foreach() instead of
         obsolete g_tree_traverse().

glib-1.2 has no g_tree_foreach() function, so some more checks are needed.

-- 
Regards,
Andrew V. Samoilov






More information about the mc-devel mailing list