diff options
| author | Dmitry Antipov | 2012-07-11 10:14:19 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-11 10:14:19 +0400 |
| commit | d923b542aa2d115bb87e72e156be837cea752536 (patch) | |
| tree | e2a0c475d8d1aee4c790e77765554b6926871ab6 /src/ChangeLog | |
| parent | 57054ddd444bd1702f2bcc08321d3ed3a644448e (diff) | |
| download | emacs-d923b542aa2d115bb87e72e156be837cea752536.tar.gz emacs-d923b542aa2d115bb87e72e156be837cea752536.zip | |
Avoid call to strlen in fast_c_string_match_ignore_case.
* search.c (fast_c_string_match_ignore_case): Change to use
length argument. Adjust users accordingly.
* lisp.h (fast_c_string_match_ignore_case): Adjust prototype.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7b47636969e..8a6dc8644b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-11 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Avoid call to strlen in fast_c_string_match_ignore_case. | ||
| 4 | * search.c (fast_c_string_match_ignore_case): Change to use | ||
| 5 | length argument. Adjust users accordingly. | ||
| 6 | * lisp.h (fast_c_string_match_ignore_case): Adjust prototype. | ||
| 7 | |||
| 1 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Assume rename. | 10 | Assume rename. |
| @@ -15,10 +22,12 @@ | |||
| 15 | 22 | ||
| 16 | Avoid calls to strlen in font processing functions. | 23 | Avoid calls to strlen in font processing functions. |
| 17 | * font.c (font_parse_name, font_parse_xlfd, font_parse_fcname) | 24 | * font.c (font_parse_name, font_parse_xlfd, font_parse_fcname) |
| 18 | (font_open_by_name): Changed to use length argument. Adjust | 25 | (font_open_by_name): Change to use length argument. Adjust |
| 19 | users accordingly. | 26 | users accordingly. |
| 20 | * font.h (font_open_by_name, font_parse_xlfd): Adjust prototypes. | 27 | * font.h (font_open_by_name, font_parse_xlfd, font_unparse_xlfd): |
| 21 | * xfont.c (xfont_decode_coding_xlfd): Changed to return ptrdiff_t. | 28 | Adjust prototypes. |
| 29 | * xfont.c (xfont_decode_coding_xlfd, font_unparse_xlfd): | ||
| 30 | Change to return ptrdiff_t. | ||
| 22 | (xfont_list_pattern, xfont_match): Use length returned by | 31 | (xfont_list_pattern, xfont_match): Use length returned by |
| 23 | xfont_decode_coding_xlfd. | 32 | xfont_decode_coding_xlfd. |
| 24 | * xfns.c (x_default_font_parameter): Omit useless xstrdup. | 33 | * xfns.c (x_default_font_parameter): Omit useless xstrdup. |
| @@ -107,7 +116,7 @@ | |||
| 107 | Use XCAR and XCDR instead of Fcar and Fcdr where possible. | 116 | Use XCAR and XCDR instead of Fcar and Fcdr where possible. |
| 108 | * callint.c, coding.c, doc.c, editfns.c, eval.c, font.c, fontset.c, | 117 | * callint.c, coding.c, doc.c, editfns.c, eval.c, font.c, fontset.c, |
| 109 | * frame.c, gnutls.c, minibuf.c, msdos.c, textprop.c, w32fns.c, | 118 | * frame.c, gnutls.c, minibuf.c, msdos.c, textprop.c, w32fns.c, |
| 110 | * w32menu.c, window.c, xmenu.c: Changed to use XCAR and XCDR | 119 | * w32menu.c, window.c, xmenu.c: Change to use XCAR and XCDR |
| 111 | where argument type is known to be a Lisp_Cons. | 120 | where argument type is known to be a Lisp_Cons. |
| 112 | 121 | ||
| 113 | 2012-07-10 Tom Tromey <tromey@redhat.com> | 122 | 2012-07-10 Tom Tromey <tromey@redhat.com> |