Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Hang in E01 due to zpty on OpenBSD



On Mon, Apr 04, 2022 at 11:39:41AM +0900, Jun T wrote:
> 
> > 2022/04/04 6:42, Matthew Martin <phy1729@xxxxxxxxx> wrote:
> 
> > I'd appreciate if anyone could confirm the below is an accurate minimal
> > reproducer to report to OpenBSD.
> 
> I tried it on OpenBSD-7.0, but it worked (no error):
> 
> % doas -u _pbuild ./a.out
> 3:  /dev/ptyp0
> 4:  /dev/ttyp0
> 
> I also tried build/test the git master (as _pbuild), but it didn't hang.
> 
> Did you try manually running zpty?

Yes
	zmodload zsh/pty
	zpty subshell true
would run fine under my user, but not under _pbuild. I'm on -current,
but I suspect the issue has been there for awhile since there's been
a failing test for a few releases.




Messages sorted by: Reverse Date, Date, Thread, Author