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/ChangeLog | |
| 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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cc20b68c729..03d806ee7f1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-11-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * search.c (find_newline): Rewrite to prefer offsets to pointers. | ||
| 4 | This avoids undefined behavior when subtracting pointers into | ||
| 5 | different aways. On my platform it also makes the code a tad | ||
| 6 | smaller and presumably faster. | ||
| 7 | |||
| 1 | 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * keyboard.c (command_loop_1): Use region-extract-function. | 10 | * keyboard.c (command_loop_1): Use region-extract-function. |