2008-11-10 Bruno Haible <bruno@clisp.org>
+ * lib/spawni.c (__spawni): Force variable into the stack.
+
+2008-11-10 Bruno Haible <bruno@clisp.org>
+
Add support for Haiku.
* lib/fbufmode.c (fbufmode): Test a symbol that is not only defined on
glibc and BeOS, but also on Haiku.
/* Do this once. */
short int flags = attrp == NULL ? 0 : attrp->_flags;
+ /* Avoid gcc warning
+ "variable 'flags' might be clobbered by 'longjmp' or 'vfork'" */
+ (void) &flags;
+
/* Generate the new process. */
#if HAVE_VFORK
if ((flags & POSIX_SPAWN_USEVFORK) != 0