aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert2013-11-11 08:37:54 -0800
committerPaul Eggert2013-11-11 08:37:54 -0800
commit5389db9e7160a85080078a1cf26dbc46ace55c21 (patch)
treeae2ac2575245de6b24fa24f95d2f364f95d46649 /src/bytecode.c
parent8ee0219ffe51c77293ded1633c9edff816c151d7 (diff)
downloademacs-5389db9e7160a85080078a1cf26dbc46ace55c21.tar.gz
emacs-5389db9e7160a85080078a1cf26dbc46ace55c21.zip
* search.c (find_newline): Rewrite to prefer offsets to pointers.
This avoids undefined behavior when subtracting pointers into different aways. On my platform it also makes the code a tad smaller and presumably faster.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions