Hi Daiki, > Thank you for this; would it make sense to use it in the modules that do > one-shot fopen/fclose, such as read-file?
This would improve things for multithreaded programs that call exec or posix_spawn. There are not that many programs of this kind. But on the other hand, multithreading is meant to be a "built-in" functionality nowadays, and the burden of fopen-gnu is zero on the majority of the modern platforms and small on the other platforms. => I've applied your patch. Bruno