diff options
author | Fred Drake <fdrake@acm.org> | 2001-09-28 16:14:18 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-09-28 16:14:18 +0000 |
commit | c1d7bcb24e65d3ce9a235870972e31d2dbe314ad (patch) | |
tree | 0a081f6d7d21a533b53c4f156a5f1e4dba1f9ef2 | |
parent | bcf42b573b6f31f87285728851095ced089544f9 (diff) | |
download | cpython-c1d7bcb24e65d3ce9a235870972e31d2dbe314ad.tar.gz |
Added note about non-support of UNC paths on Windows.
This fixes SF bug #465447.
-rw-r--r-- | Doc/lib/libos.tex | 3 | ||||
-rw-r--r-- | Doc/lib/libposixpath.tex | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 1c3a584bf8..85355a5ee9 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -634,7 +634,8 @@ Recursive directory creation function. Like \function{mkdir()}, but makes all intermediate-level directories needed to contain the leaf directory. Throws an \exception{error} exception if the leaf directory already exists or cannot be created. The default \var{mode} -is \code{0777} (octal). +is \code{0777} (octal). This function does not properly handle UNC +paths (only relevant on Windows systems). \versionadded{1.5.2} \end{funcdesc} diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index 9cd1a58fd7..bc26ddd850 100644 --- a/Doc/lib/libposixpath.tex +++ b/Doc/lib/libposixpath.tex @@ -7,6 +7,10 @@ This module implements some useful functions on pathnames. \index{path!operations} +\strong{Warning:} On Windows, many of these functions do not properly +support UNC pathnames. \function{splitunc()} and \function{ismount()} +do handle them correctly. + \begin{funcdesc}{abspath}{path} Return a normalized absolutized version of the pathname \var{path}. |