RVP <[email protected]> writes:

> On Wed, 26 Nov 2025, Greg Troxel wrote:
>
>> RVP <[email protected]> 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.

Reply via email to