summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsDialogButtonLayout.java
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2026-05-17 22:17:47 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2026-05-18 23:10:42 -0700
commitb9e20e39953ad27c720e265311fa71bd7c6c749e (patch)
treeee1e9650c6a3a29c67dc9e7ca1460d9fa3ace49d /java/org/gnu/emacs/EmacsDialogButtonLayout.java
parentf5c3ddd9ad3f6f116c1c224e55b2aecad0461863 (diff)
Avoid malloc/free pairs in emit_static_object
* src/comp.c (emit_static_object): Avoid an malloc/free of a 1 KiB buffer; just put it on the stack. Use strnlen+mempcpy instead of strncpy as there is no need to zero-fill buff. Use int for values that must fit in int since we are passing them to gcc_jit_context_new_rvalue_from_int.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions