From: Eli Zaretskii Date: Tue, 20 Aug 2013 14:49:09 +0000 (+0300) Subject: Document problems with Windows file names that end in blanks. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~164 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f0809d4ab26a4376ecce03909d35db80da40023;p=emacs.git 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) --- 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?