-On [20080309 20:23], "Martin v. Löwis" ([EMAIL PROTECTED]) wrote: >If it's similar on FreeBSD, the only reason why this >could break is that newscr is NULL.
This is what I get: do { if(newscr->_leaveok) (y) = (x) = -1; else ((y) = ((newscr) ? (newscr)->_cury : (-1)), (x) = ((newscr) ? (newscr)->_curx : (-1))); } while(0); ncurses 5.6 In the same stack frame: (gdb) print newscr $1 = (WINDOW *) 0x0 So it seems that the newscr variable is indeed a NULL. -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ Let us eat and drink; for tomorrow we shall die... _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com