diff options
| author | Paul Eggert | 2012-07-09 09:06:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-09 09:06:19 -0700 |
| commit | 26bccfaebf452511a06c2b19414a73b041b17853 (patch) | |
| tree | e42f399529ee0787a7ee5fee9b47f0de898f4245 /src/ChangeLog | |
| parent | 52331d2c41bf325fd1b22764fdc230d92b68ab85 (diff) | |
| download | emacs-26bccfaebf452511a06c2b19414a73b041b17853.tar.gz emacs-26bccfaebf452511a06c2b19414a73b041b17853.zip | |
Minor improvements to make_formatted_string.
* alloc.c (make_formatted_string): Prefer int to ptrdiff_t
where int is good enough, as vsprintf returns an int.
* lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF.
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 4e69496fadd..d5a8abe5c56 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Minor improvements to make_formatted_string. | ||
| 4 | * alloc.c (make_formatted_string): Prefer int to ptrdiff_t | ||
| 5 | where int is good enough, as vsprintf returns an int. | ||
| 6 | * lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF. | ||
| 7 | |||
| 1 | 2012-07-09 Dmitry Antipov <dmantipov@yandex.ru> | 8 | 2012-07-09 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 9 | ||
| 3 | Use make_formatted_string to avoid double length calculation. | 10 | Use make_formatted_string to avoid double length calculation. |