Re: apparantly konsole is unusable
2010/8/8 Sune Vuorela <nospam@vuorela.dk>:
> in libkpty (kde4libs/kpty/kpty.c), there is a call to openpty:
> (this is compiled with g++)
>
> ::openpty( &d->masterFd, &d->slaveFd, ptsn, 0, 0)
>
> (d is a pointer to a struct, d->masterFd is a int, d->slaveFd is a
> int, ptsn is a char pointer)
>
> which fails with EINTR (according to errno)
[..]
> I'm out of clue and/or inspiration.
My possibly-clueless 2¢: If EINTR is returned, the call should be
retried, which this code doesn't seem to do.
Nicolas
Reply to: