diff options
author | Adam Domurad <[email protected]> | 2012-05-25 11:23:47 -0400 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2012-05-25 11:23:47 -0400 |
commit | ef79a2eab042f66aa10a2356d9a6f80f5b8d544f (patch) | |
tree | 0f92b13bf74dc49b19607174e37bb176d555678a /ChangeLog | |
parent | cfc204f1f531f9c867534ea2eca5eca216c99c04 (diff) |
Introduced constant NUM_STR_BUFFER_SIZE to replace magic constants.
Clarified some uses of snprintf.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2012-05-23 Adam Domurad <[email protected]> + Removed instances of snprintf where buffer size was not known. Added + buffer size constant for allocating buffers for numeric conversions. + * plugin/icedteanp/IcedTeaNPPlugin.cc: Removed usage of snprintf for + simple blanking of strings. Buffer size was misguided previously. + Used NUM_STR_BUFFER_SIZE constant to replace magic numbers/ + * plugin/icedteanp/IcedTeaPluginUtils.cc: Made + NPVariantToString(NPVariant variant, std::string* result) use two + space indentation. Used NUM_STR_BUFFER_SIZE constant to replace magic + numbers. + * plugin/icedteanp/IcedTeaPluginUtils.h: Added constant, + NUM_STR_BUFFER_SIZE. + 2012-05-24 Danesh Dadachanji <[email protected]> Fix use of src dir instead of build dir when whitelisting. |