summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-23 15:45:29 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-23 15:46:11 -0800
commit4f10c3cdefc3d858bf297e55fb4a9ced36721bbb (patch)
treeb553a9399a6c54c02d5c964055b4c83cbd4ab1e2 /lisp/emacs-lisp/checkdoc.el
parent58dfc16cd0befe0122ecc2c452e48135495519aa (diff)
downloademacs-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