Hi/2. Paul Eggert wrote: > On 2025-02-08 19:07, KO Myung-Hun wrote: >> OS/2 does not allow file actions with a file name to opened files. As a >> result, copy(), chmod() and update_file() fail. > > Ouch, that means OS/2 is inherently insecure with temp files due to > races in some situations. However, the Autoconf code is already insecure > even on non-OS/2 platforms, so I guess it's no extra harm done. > > >> + copy ($src, $^O eq 'os2' ? $temp : $tempname) > > I'd rather not have os2-specific code if we can avoid it, as that makes > testing harder cross-platform. I installed the attached instead; please > give it a try. >
Thanks, it works! -- KO Myung-Hun Korean OS/2 User Community : https://www.os2.kr/