|
|
fja### [at] abofi wrote:
>
> [...]
>
> Inserting the lines:
>
> if (ttyname(0) == NULL)
> return (false);
>
> before the lines above seems to solve the problem, at least in the first case.
> The manpage for ttyname says it returns NULL if an error occurs.
> Comments?
I don't remember any such problem when running povray remotely but since
the specs say ttyname() can return NULL this should be handled correctly.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|