[LTP] [PATCH] pan/ltp-pan.c: fix file descriptors leaks

Yang Xu xuyang2018.jy@cn.fujitsu.com
Wed Nov 11 02:46:28 CET 2020


Hi Cyril
> Hi!
>>> Yes, musl-libc doesn't support "e" mode for fopen[1].
>> Sorry, I ignore __fmodeflags function, musl libc supports "e" mode since
>> 0.9.7 after this commit 8582a6e9f ("add 'e' modifier (close-on-exec) to
>> fopen and fdopen").
>>
>> https://git.musl-libc.org/cgit/musl/commit/src?id=8582a6e9f25dd7b87d72961f58008052a4cac473
>>
>> It is about 8 years since musl libc fopen() supports "e". glibc2.7
>> fopen() supports "e" is about 13 years.  Maybe we can use "e" mode now?
>
> To be honest I haven't had used ltp-pan for last two years, so if that
> change works for everyone still using it, then we can go ahead with it.
OK. I will wait a week. If nobody has objection, I will merge it.

Best Regards
Yang Xu
>





More information about the ltp mailing list