Re: How to add subshell support for ash



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


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