NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: script hanging with locking bug



On Wed, 26 Nov 2025, 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?

-RVP


Home | Main Index | Thread Index | Old Index