From 7d39b48875475b2d206789cb9b6486b79c7be55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 7 Apr 2013 11:49:52 +0200 Subject: [PATCH] doc: Warn against misuses of `file-name-separator-string'. * doc/ref/posix.texi (File System): Warn against misuses of `file-name-separator-string'. --- doc/ref/posix.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 880ac4184..45f320f45 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -1038,7 +1038,12 @@ platform. @end deffn @defvr {Scheme Variable} file-name-separator-string -The standard file name separator. +The preferred file name separator. + +Note that on MinGW builds for Windows, both @code{/} and @code{\} are +valid separators. Thus, programs should not assume that +@code{file-name-separator-string} is the @emph{only} file name +separator---e.g., when extracting the components of a file name. @end defvr