platform_get_argv0: drop unneeded headers for OpenBSD
authorAntoine Jacoutot <ajacoutot@gnome.org>
Wed, 16 Apr 2014 08:27:09 +0000 (10:27 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Sun, 20 Apr 2014 21:16:59 +0000 (23:16 +0200)
commit58abc1fc198a8579667ea2164c33964b250a0435
tree7e359717b7a580e7a95bc11397a7499a46510795
parent9352cdb5f4f7dffa983d411625e874110b81cb35
platform_get_argv0: drop unneeded headers for OpenBSD

And properly set the size of len.
There is also no need for realloc(), g_malloc0 will do just fine.

https://bugzilla.gnome.org/show_bug.cgi?id=728280
glib/goption.c