Re: Unfortunate interaction of glibc-2.44 and gnulib regarding posix_spawn_file_actions_addchdir => infinite recursion

Andreas Schwab <[email protected]> Mon, 27 Jul 2026 15:04:16 +0200
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
On Jul 27 2026, Adhemerval Zanella Netto wrote:

> Is this really a glibc bug?

No, it isn't.  If you want to use posix_spawn_file_actions_addchdir you
need to include <span.h>, which will then do the right thing regardless.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."