aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDmitry Antipov2012-07-10 11:59:31 +0400
committerDmitry Antipov2012-07-10 11:59:31 +0400
commitcb1caeaf2ba26df05e8f9bcd4aa63203cef781fb (patch)
tree78cbdfcc89455a0ab097eb1fd16c029d0ac48e0d /src/ChangeLog
parentd02eb359e68a083fc55f0355b86df2a07b8d570d (diff)
downloademacs-cb1caeaf2ba26df05e8f9bcd4aa63203cef781fb.tar.gz
emacs-cb1caeaf2ba26df05e8f9bcd4aa63203cef781fb.zip
Avoid calls to strlen in miscellaneous functions.
* buffer.c (init_buffer): Use precalculated len, adjust if needed. * font.c (Ffont_xlfd_name): Likewise. Change to call make_string. * lread.c (openp): Likewise.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index de0f729f915..5815c83ae1e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,11 +1,18 @@
12012-07-10 Dmitry Antipov <dmantipov@yandex.ru> 12012-07-10 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 Avoid calls to strlen in miscellaneous functions.
4 * buffer.c (init_buffer): Use precalculated len, adjust if needed.
5 * font.c (Ffont_xlfd_name): Likewise. Change to call make_string.
6 * lread.c (openp): Likewise.
7
82012-07-10 Dmitry Antipov <dmantipov@yandex.ru>
9
3 Avoid calls to strlen in path processing functions. 10 Avoid calls to strlen in path processing functions.
4 * fileio.c (file_name_as_directory): Add comment. Change to add 11 * fileio.c (file_name_as_directory): Add comment. Change to add
5 srclen argument and return the length of result. Adjust users 12 srclen argument and return the length of result. Adjust users
6 accordingly. 13 accordingly.
7 (directory_file_name): Fix comment. Change to add srclen argument, 14 (directory_file_name): Fix comment. Change to add srclen argument,
8 swap 1nd and 2st arguments to obey the common convention. Adjust 15 swap 1st and 2nd arguments to obey the common convention. Adjust
9 users accordingly. 16 users accordingly.
10 * filelock.c (fill_in_lock_file_name): Avoid calls to strlen. 17 * filelock.c (fill_in_lock_file_name): Avoid calls to strlen.
11 18