Reported by Pádraig Brady <P@draigBrady.com> in
<https://lists.gnu.org/archive/html/coreutils/2025-11/msg00052.html>.
* lib/spawni.c (__spawni): Don't use vfork() on Solaris/SPARC.
+2025-11-06 Bruno Haible <bruno@clisp.org>
+
+ posix_spawn-internal: Don't use vfork() on Solaris/SPARC.
+ Reported by Pádraig Brady <P@draigBrady.com> in
+ <https://lists.gnu.org/archive/html/coreutils/2025-11/msg00052.html>.
+ * lib/spawni.c (__spawni): Don't use vfork() on Solaris/SPARC.
+
2025-11-06 Bruno Haible <bruno@clisp.org>
stdio-windows: Add fallback code for very old mingw without vasprintf.
(void) &flags;
/* Generate the new process. */
-#if HAVE_VFORK
+ /* Use of vfork() on Solaris/SPARC crashes; avoid it there. */
+#if HAVE_VFORK && !(defined __sun && defined __sparc)
if ((flags & POSIX_SPAWN_USEVFORK) != 0
/* If no major work is done, allow using vfork. Note that we
might perform the path searching. But this would be done by