diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-10 10:23:45 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-07-10 10:23:45 +0400 |
commit | c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d (patch) | |
tree | 6aaff4b91e43d732c4a7dea94ba3bf28a94b2955 /lisp/emacs-lisp/advice.el | |
parent | af6e839f9fadf33b22c145d3103f6e3d9656e804 (diff) | |
download | emacs-c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d.tar.gz emacs-c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d.tar.bz2 emacs-c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d.zip |
Avoid calls to strlen in path processing functions.
* fileio.c (file_name_as_directory): Add comment. Change to add
srclen argument and return the length of result. Adjust users
accordingly.
(directory_file_name): Fix comment. Change to add srclen argument,
swap 1nd and 2st arguments to obey the common convention. Adjust
users accordingly.
* filelock.c (fill_in_lock_file_name): Avoid calls to strlen.
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
0 files changed, 0 insertions, 0 deletions