RVP <rvp%SDF.ORG@localhost> writes: > On 2025年11月26日, Greg Troxel wrote: > >> RVP <rvp%SDF.ORG@localhost> writes: >>> >>> Looks like PR# 56254 again. script(1) should really be rewritten, but, for >>> now can you change `exit(status)' to `_exit(status)' here: >>> >>> https://github.com/NetBSD/src/blob/trunk/usr.bin/script/script.c#L361 >> >> Thanks! >> >> Also, running this from the shell >> >> script -qec 'echo -n' /dev/null >> >> seems to hang reasonably often. > > With the `exit(status)' -> `_exit(status)' change too? With the code as checked in, it hangs maybe 50%. WIth the exit->_exit change, it has not hung.