]> git.eshelyaron.com Git - emacs.git/commit
* termchar.h (struct tty): New members termcap_term_buffer and
authorChong Yidong <cyd@stupidchicken.com>
Mon, 8 Dec 2008 14:43:45 +0000 (14:43 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 8 Dec 2008 14:43:45 +0000 (14:43 +0000)
commit567826bbb2315961b72cc5d586d08b336f5cdea1
tree3172f212e1443af192e8df6d7548be3e65923140
parent59bd58600e13bc17d2ce6cfce81746ed507c3b24
* termchar.h (struct tty): New members termcap_term_buffer and
termcap_strings_buffer.

* term.c (encode_terminal_code): Free any previous memory blocks
before calling xmalloc for encode_terminal_src or
encode_terminal_dst.
(maybe_fatal): Buffer argument deleted.  Don't free buffer here.
All callers changed.
(init_tty): Store termcap data and string buffers in new struct
tty members termcap_term_buffer and termcap_strings_buffer.
(delete_tty): Free them.
(syms_of_term): Initialize encode_terminal_src and
encode_terminal_dst.
src/ChangeLog