[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ncurses segmentation fault



Package: ncurses3.4
Version: 1.9.9g-8.8

The following program, compiled with egcs 1.0.3, causes a segmentation
fault at the mvwinch statement:

#include <curses.h>
int main ()
{
  WINDOW *win;
  initscr();
  refresh();
  win = newwin(0, 0, 10, 10);
  getch();
  chtype r = mvwinch(win, 1, 1);
  getch();
  endwin();
return 0;
}

I'm using Debian 2.0.

Any ideas?

Ingo


Reply to: