diff options
| author | Dmitry Antipov | 2012-07-10 10:23:45 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-10 10:23:45 +0400 |
| commit | c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d (patch) | |
| tree | 6aaff4b91e43d732c4a7dea94ba3bf28a94b2955 /src/ChangeLog | |
| parent | af6e839f9fadf33b22c145d3103f6e3d9656e804 (diff) | |
| download | emacs-c293e30cd9f841e59ce6ae3b2757f0e6daf2e71d.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3b7038ffe49..e54ea7d8fe9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2012-07-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Avoid calls to strlen in path processing functions. | ||
| 4 | * fileio.c (file_name_as_directory): Add comment. Change to add | ||
| 5 | srclen argument and return the length of result. Adjust users | ||
| 6 | accordingly. | ||
| 7 | (directory_file_name): Fix comment. Change to add srclen argument, | ||
| 8 | swap 1nd and 2st arguments to obey the common convention. Adjust | ||
| 9 | users accordingly. | ||
| 10 | * filelock.c (fill_in_lock_file_name): Avoid calls to strlen. | ||
| 11 | |||
| 1 | 2012-07-10 Glenn Morris <rgm@gnu.org> | 12 | 2012-07-10 Glenn Morris <rgm@gnu.org> |
| 2 | 13 | ||
| 3 | * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards. | 14 | * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards. |