How to add subshell support for ash

Andrew Borodin aborodin at vmail.ru
Mon Mar 5 13:32:40 UTC 2012


On Mon, 05 Mar 2012 14:25:53 +0100 Alexander Kriegisch wrote:
> So I updated my patch: putenv_str is now created before the first switch
> statement and g_free(putenv_str) is called at the same place as
> g_free(init_file).

Just use g_setenv: http://developer.gnome.org/glib/2.30/glib-Miscellaneous-Utility-Functions.html#g-setenv

-- 
Andrew



More information about the mc-devel mailing list