diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-23 15:45:29 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-23 15:46:11 -0800 |
commit | 4f10c3cdefc3d858bf297e55fb4a9ced36721bbb (patch) | |
tree | b553a9399a6c54c02d5c964055b4c83cbd4ab1e2 /lisp/emacs-lisp/checkdoc.el | |
parent | 58dfc16cd0befe0122ecc2c452e48135495519aa (diff) | |
download | emacs-4f10c3cdefc3d858bf297e55fb4a9ced36721bbb.tar.gz emacs-4f10c3cdefc3d858bf297e55fb4a9ced36721bbb.tar.bz2 emacs-4f10c3cdefc3d858bf297e55fb4a9ced36721bbb.zip |
module_format_fun_env fixes
* src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
* src/emacs-module.c (module_format_fun_env):
Convert path and sym to UTF-8.
Don’t use VLAs, as the C11 standard says they’re optional,
and anyway they can cause core dumps with large allocations.
Use exprintf rather than snprintf, as exprintf handles arbitrarily
long strings. Simplify the code a bit.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions