tests: 2.68.4: build failure on macOS 10.6 and earlier, due to use of F_DUPFD_CLOEXEC
While the use of F_DUPFD_CLOEXEC
was fixed long ago in all other source files, it was missed in one place: glib/tests/spawn-singlethread.c
.
Presumably a similar fix can be applied there, vis-a-vis everywhere else. And currently working on a patch for MacPorts; will provide once it's been validated.
EDIT: Reviewing older and newer major releases, this appears to be a regression - or just an oversight - in 2.68.4. (Or perhaps in 2.68.x.) Regardless, since this is limited to this older release, we'll simply patch for now.
Edited by Christopher Nielsen