diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-07 11:49:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-07 11:51:58 +0200 |
commit | 7d39b48875475b2d206789cb9b6486b79c7be55d (patch) | |
tree | 501d568438de7118d039a246a7689a7a6ca2929e /doc/ref | |
parent | 48ffc52cc96fc0665183d9a9e3f68e7e031487f4 (diff) | |
download | guile-7d39b48875475b2d206789cb9b6486b79c7be55d.tar.gz |
doc: Warn against misuses of `file-name-separator-string'.
* doc/ref/posix.texi (File System): Warn against misuses of
`file-name-separator-string'.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/posix.texi | 7 |
1 files changed, 6 insertions, 1 deletions
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 |