Canul Podkopayeva wrote:
> /*
> * Hello, sorry to bother again with lame code but...
> * I get this code to build but it core dumps and gdb tells me that it
> sigvfault at waddch.
> * I have no idea on how to fix this.
First your arrays are numbered wrong. Use (0 ... 5) not (1...6) Next,
you
On Sun, 20 Sep 1998, Canul Podkopayeva wrote:
-
-/*
- * Hello, sorry to bother again with lame code but...
- * I get this code to build but it core dumps and gdb tells me that it
-sigvfault at waddch.
- * I have no idea on how to fix this.
- */
-
[snip]
you've not used newwin to actually defin
Canul Podkopayeva wrote:
> * I get this code to build but it core dumps and gdb tells me that it
> sigvfault at waddch.
Simple standard C bug. Arrays start at 0, not 1. use win[0]...win[5] and
it should work.
The reason why it doesn't segfault in wattrset is that you have
misspelled the number