On Mon, Aug 09, 2021 at 05:14:24PM +0100, Peter Maydell wrote:
> Setting environment variables can fail; check the return value
> from g_setenv() and bail out if we couldn't set SDL_VIDEODRIVER.
>
> Fixes: Coverity 1458798
> Signed-off-by: Peter Maydell
> ---
> I followed existing practice in thi
Hi,
> Setting environment variables can fail; check the return value
> from g_setenv() and bail out if we couldn't set SDL_VIDEODRIVER.
Hmm, looking at the comment I'm wondering whenever we maybe should just
drop the setenv (after 6.1). It's quite old, I doubt svgalib talking
directly to the h
Setting environment variables can fail; check the return value
from g_setenv() and bail out if we couldn't set SDL_VIDEODRIVER.
Fixes: Coverity 1458798
Signed-off-by: Peter Maydell
---
I followed existing practice in this function for how it
deals with errors (ie, fprintf to stderr and exit).
---