The Austin Group has now clarified the interaction between
posix_spawn_file_actions_addchdir, posix_spawn_file_actions_addfchdir
and relative file names passed as program names. [1]
Let me enhance the gnulib tests accordingly.
[1] https://www.austingroupbugs.net/view.php?id=1208
2020-04-28
Calling free() on a wrong value can produce a crash.
2020-04-28 Bruno Haible
posix_spawn_file_actions_destroy: Fix a crash (bug from 2019-06-10).
* lib/spawn_faction_destroy.c (posix_spawn_file_actions_destroy): Don't
access elements of the wrong union member.
diff
This is a feature request to add an operation
extern gl_list_node_t gl_list_remove_last (gl_list_t list)
to the list/xlist interface.
This operation would remove the last element of the list and return
the node of the previous element (or NULL if no element remained).
There are at least two