summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-04-29 07:16:17 +1200
committerOlly Betts <olly@survex.com>2023-04-29 07:16:17 +1200
commitdada37e1d1a860100c23f7971b0aac58154441fa (patch)
tree52765d2e793582e35d07db3c5587ab0370308190
parent2860e28bd59905d06345d28f9e2f874aa4030098 (diff)
downloadswig-dada37e1d1a860100c23f7971b0aac58154441fa.tar.gz
Fix CHANGES.current factual error
-rw-r--r--CHANGES.current7
1 files changed, 4 insertions, 3 deletions
diff --git a/CHANGES.current b/CHANGES.current
index 79d6b4db7..472fad78a 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -16,13 +16,14 @@ Version 4.2.0 (in progress)
use it is helpful.
We enable this automatically if the compiler claims conformance
- with at least C90 or C++98 and check SWIG_HAVE_SNPRINTF to allow
- turning on manually, but disable if SWIG_NO_SNPRINTF if defined.
+ with at least C99 or C++11. It can also be enabled manually by
+ defining SWIG_HAVE_SNPRINTF. Define SWIG_NO_SNPRINTF to disable
+ completely.
The fallback is to call sprintf() without a buffer size check,
which is what we've done until now. Adding a check after the
call seems of limited benefit - if the buffer was overflowed
- then it's too late to block it , and most of our uses either have a
+ then it's too late to block it, and most of our uses either have a
fixed maximum possible size or dynamically allocate a buffer that's
large enough.