On Sun, 15 Jan 2006, Falk Hueffner wrote:

Thomas Dickey <[EMAIL PROTECTED]> writes:

    char buf[5];

[...]

The buf variable contains "Key01"

So 6 bytes. Does this still happen if you don't overrun buf?  Also,
can you send a complete test case?

ah.  I didn't see that (will check later today on my home machine).

I did list the case (ncurses 5.5, the c++ demo program, e.g,.
        ncurses-5.5/c++/demo.cc (along with lots of other code)

I'll check that buffer limit, which I agree should improve things.
(Last night I could only see that it had worked with everything
except g++ 4.0).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to