From 9f0809d4ab26a4376ecce03909d35db80da40023 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 20 Aug 2013 17:49:09 +0300 Subject: [PATCH] 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) --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/files.texi | 8 ++++++++ 2 files changed, 13 insertions(+) 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 + + * files.texi (Information about Files): Mention file names with + trailing blanks on MS-Windows. (Bug#15130) + 2013-08-18 Xue Fuqiao * 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? -- 2.11.4.GIT