diff options
author | rafan <rafan@FreeBSD.org> | 2007-06-06 02:23:03 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-06-06 02:23:03 +0000 |
commit | ab467b3430d86936595c083be1adda7f7d6ef041 (patch) | |
tree | 48838cf5b22b83defabce3a28d11c1ac3adc6dbb /compat | |
parent | f084c2f975a688f375554cf7ad176ceae2c5b8ba (diff) | |
download | FreeBSD-src-ab467b3430d86936595c083be1adda7f7d6ef041.zip FreeBSD-src-ab467b3430d86936595c083be1adda7f7d6ef041.tar.gz |
- Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing
header <term.h>, which is required by both tputs() and tgoto().
Without this header, nvi crashes with the call to tputs() at line 114.
This is because the first argument of tputs() is a pointer, and the
returned pointer from tgoto() is casted to an integer by compiler.
For some reasons, this only crashes on amd64+CURRENT. On 6.x system,
this does not happen.
PR: 101248
Reported by: yar, infofarmer, Roland Smith
Tested by: infofarmer, delphij, rafan
Approved by: delphij (mentor)
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions