tgetstr stomps memory in SV/AT 2.4

John Plocher plocher at uport.UUCP
Tue Mar 14 01:44:02 AEST 1989


In article <2525 at splut.UUCP> Jay Maynard writes:
>
>Is this really a termcap/curses bug? Or is it more esoteric? I'm pretty
>sure that it's 2.3- or 2.4-specific, since I'm running rn compiled last
>April, and it runs fine (except for the article number problem).

We broke that one.  You can call texch support and get a version which declares
tgetstr to be a char* instead of char** (oops).  Or you can declare it "wrong"
in your program and live with it.  You can also grab it out of the 2.3 curses
library and replace the broken one in 2.4.

   John Plocher



More information about the Comp.unix.microport mailing list