summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-08-20 17:49:09 +0300
committerEli Zaretskii <eliz@gnu.org>2013-08-20 17:49:09 +0300
commit9f0809d4ab26a4376ecce03909d35db80da40023 (patch)
tree1fbb11beed4189b2ca873f918f1162b89a383355 /doc
parentc88586a9620e16040fa28ebb6e05926719360ba2 (diff)
downloademacs-9f0809d4ab26a4376ecce03909d35db80da40023.tar.gz
Document problems with Windows file names that end in blanks.
doc/lispref/files.texi (Information about Files): Mention file names with trailing blanks on MS-Windows. (Bug#15130)
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/files.texi8
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 3f9d23a5476..d2e86c25cc1 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-20 Eli Zaretskii <eliz@gnu.org>
+
+ * files.texi (Information about Files): Mention file names with
+ trailing blanks on MS-Windows. (Bug#15130)
+
2013-08-18 Xue Fuqiao <xfq.free@gmail.com>
* positions.texi (Positions): Improve indexing.
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 77b097ae90a..1f7169522cc 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -776,6 +776,14 @@ return information about actual files or directories, so their
arguments must all exist as actual files or directories unless
otherwise noted.
+@cindex file names, trailing whitespace
+@cindex trailing blanks in file names
+Be careful with file names that end in blanks: some filesystems
+(notably, MS-Windows) will ignore trailing whitespace in file names,
+and return information about the file after stripping those blanks
+from the name, not about the file whose name you passed to the
+functions described in this section.
+
@menu
* Testing Accessibility:: Is a given file readable? Writable?
* Kinds of Files:: Is it a directory? A symbolic link?