]> git.eshelyaron.com Git - emacs.git/commit
Fix how strings are accepted from modules
authorPhilipp Stephani <phst@google.com>
Mon, 23 Nov 2015 17:46:17 +0000 (19:46 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 23 Nov 2015 17:46:17 +0000 (19:46 +0200)
commitccc16061acb4d1cdd7c2b0da71b98092002935aa
tree70a2fda63e8e49261f8f155af609e14161cf9f2f
parent50090b04a6a1d5c0e0e42399d32b8a8b661a61d8
Fix how strings are accepted from modules

* emacs-module.c (module_make_function, module_make_string): Use
make_multibyte_string.
(module_copy_string_contents): Encode before reading the byte
size.  Return false if and only if an error occurred.
src/emacs-module.c