Paul Eggert wrote: > As I understand it the basic issue here is that we want O_CLOEXEC support even > on platforms that lack it, and we don't want all the calling software to play > games with "#ifdef O_CLOEXEC" and the like.
Yes. The O_CLOEXEC for the platforms that lack it is mostly in lib/fcntl.c. But I agree: If the code does not call open(), we don't need O_CLOEXEC support :-) > I attempted to work around this particular problem by installing the attached > workaround into Gnulib and updating Emacs accordingly. Thanks. I usually don't spend so much time on trimming down the dependencies in such detail. Bruno