aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/file.xml
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-12-01 12:22:53 +0100
committerJohn Högberg <[email protected]>2018-01-03 08:14:28 +0100
commitd469368b9e14b9834017a7cf318f02950a4aadcb (patch)
treef2d5c672f0bade06dd82d85481477f17930daa08 /lib/kernel/doc/src/file.xml
parent65df0ce5cec5fdee60c80409f322a58092526537 (diff)
downloadotp-d469368b9e14b9834017a7cf318f02950a4aadcb.tar.gz
otp-d469368b9e14b9834017a7cf318f02950a4aadcb.tar.bz2
otp-d469368b9e14b9834017a7cf318f02950a4aadcb.zip
Disallow NULs in filename-encoded strings
Previously we accepted trailing NULs, which was backwards compatible as such usage never resulted in misbehavior in the first place. The downside is that it prevented erts_native_filename_need from returning an accurate number of *actual characters*, needlessly complicating encoding-agnostic code like erts_osenv.
Diffstat (limited to 'lib/kernel/doc/src/file.xml')
-rw-r--r--lib/kernel/doc/src/file.xml7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index 58abb35428..8477b0e148 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -93,13 +93,6 @@
are now <em>rejected</em> and will cause primitive
file operations fail.
</p></note>
- <warning><p>
- Currently null characters at the end of the filename
- will be accepted by primitive file operations. Such
- filenames are however still documented as invalid. The
- implementation will also change in the future and
- reject such filenames.
- </p></warning>
</description>