diff options
| author | Paul Eggert | 2013-11-11 08:37:54 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-11-11 08:37:54 -0800 |
| commit | 5389db9e7160a85080078a1cf26dbc46ace55c21 (patch) | |
| tree | ae2ac2575245de6b24fa24f95d2f364f95d46649 /src/bytecode.c | |
| parent | 8ee0219ffe51c77293ded1633c9edff816c151d7 (diff) | |
| download | emacs-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