summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-12-10 08:17:18 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-12-10 08:29:30 -0800
commit0a13c9e9defc771d8b101672f018b1b2de6b9e0e (patch)
tree5c55ceb3c7b77d29a52486bf71f0c9769a4ccde3 /ChangeLog
parentd4e301c5c65393837e438b6d81feabfbfde7b9c7 (diff)
Split large string section; add truncation advice
* manual/examples/strncat.c: Remove. This example was misleading, as the code would have undefined behavior if "hello" was longer than SIZE. Anyway, the manual shouldn't encourage strncpy+strncat for this sort of thing. * manual/string.texi (Copying Strings and Arrays): Split into three sections Copying Strings and Arrays, Concatenating Strings, and Truncating Strings, as this section was way too long. All cross-referenced changed. Add advice about string-truncation functions. Remove misleading strncat example.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9140faf384..81e5791f06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ Split large string section; add truncation advice
+ * manual/examples/strncat.c: Remove.
+ This example was misleading, as the code would have undefined
+ behavior if "hello" was longer than SIZE. Anyway, the manual
+ shouldn't encourage strncpy+strncat for this sort of thing.
+ * manual/string.texi (Copying Strings and Arrays): Split into
+ three sections Copying Strings and Arrays, Concatenating Strings,
+ and Truncating Strings, as this section was way too long. All
+ cross-referenced changed. Add advice about string-truncation
+ functions. Remove misleading strncat example.
+
2015-12-10 Carlos O'Donell <carlos@redhat.com>
* manual/nss.texi (NSS Modules Interface): Document