On Thu, 24 May 2001, Brian S. Julin wrote:

> > 7) display-terminfo segfaults on newer systems    brian

This was two bugs.  First was the textdemo program needs to be reworked
to not be so picky about the size of the screen/font.

Second, and I don't know what to do about this, display-terminfo
is broken in that if you ggiOpen it on stdin/stdout, then ggiClose
it (which closes the descriptors), then ggiOpen it again on stdin/stdout, 
fdopen on the stdout/stdin descriptors fails the second time, which 
causes a segfault.

This is despite the code:

priv->f_out = fdopen(fileno(stdout), "w");

...which would appear to be trying to avoid just this problem, but apparently
does not quite succeed at it.

I'll have to hit my POSIX book and see what it says.  However, I do not 
think this bug is consequential to the release process; display-terminfo does 
work mostly.

--
Brian

Reply via email to