gprintf: Avoid an infinite loop on ENOMEM in g_vasprintf()
Instead of going through the normal error logging code, which does
further allocations and will potentially call back into g_vasprintf()
and create an infinite loop, just fputs()
an error message and abort.
If we’re getting ENOMEM
the process is doomed anyway.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2753 (closed)
Closes #2753 (closed)