Skip to content

Commit bbf7a40

Browse files
committed
Added note about non-support of UNC paths on Windows.
This fixes SF bug #465447.
1 parent b387860 commit bbf7a40

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Doc/lib/libos.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,8 @@ \subsection{Files and Directories \label{os-file-dir}}
634634
but makes all intermediate-level directories needed to contain the
635635
leaf directory. Throws an \exception{error} exception if the leaf
636636
directory already exists or cannot be created. The default \var{mode}
637-
is \code{0777} (octal).
637+
is \code{0777} (octal). This function does not properly handle UNC
638+
paths (only relevant on Windows systems).
638639
\versionadded{1.5.2}
639640
\end{funcdesc}
640641

Doc/lib/libposixpath.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ \section{\module{os.path} ---
77
This module implements some useful functions on pathnames.
88
\index{path!operations}
99

10+
\strong{Warning:} On Windows, many of these functions do not properly
11+
support UNC pathnames. \function{splitunc()} and \function{ismount()}
12+
do handle them correctly.
13+
1014

1115
\begin{funcdesc}{abspath}{path}
1216
Return a normalized absolutized version of the pathname \var{path}.

0 commit comments

Comments
 (0)