Skip to content

rename 'stdout' variable to 'output', on OpenBSD stdout is a macro defined in stdio.h

Landry Breuil requested to merge landry/exo:fix-stdout into master

and build fails with:

exo-execute.c:136:10: error: expected identifier or '(' gchar *stdout = NULL; ^ /usr/include/stdio.h:198:17: note: expanded from macro 'stdout'

error: cannot take the address of an rvalue of type 'FILE *' (aka 'struct __sFILE *') if (g_spawn_command_line_sync(query, &stdout, NULL, NULL, NULL))

Merge request reports