NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: script hanging with locking bug
RVP <rvp%SDF.ORG@localhost> writes:
> 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?
With the code as checked in, it hangs maybe 50%.
WIth the exit->_exit change, it has not hung.
Home |
Main Index |
Thread Index |
Old Index