[commit: packages/directory] master: Minor tweaks to documentation about special directories (69532e2)
git at git.haskell.org
git at git.haskell.org
Fri Dec 18 09:53:01 UTC 2015
Repository : ssh://git@git.haskell.org/directory
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/69532e291bd233f61af21b62676253fcdcc46ce2/directory
>---------------------------------------------------------------
commit 69532e291bd233f61af21b62676253fcdcc46ce2
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Sat Oct 3 14:24:17 2015 -0400
Minor tweaks to documentation about special directories
>---------------------------------------------------------------
69532e291bd233f61af21b62676253fcdcc46ce2
System/Directory.hs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/System/Directory.hs b/System/Directory.hs
index 525ac3b..0cd3d10 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -177,8 +177,8 @@ win32_fILE_SHARE_DELETE = 0x00000004
A directory contains a series of entries, each of which is a named
reference to a file system object (file, directory etc.). Some
entries may be hidden, inaccessible, or have some administrative
-function (e.g. `.' or `..' under POSIX
-<http://www.opengroup.org/onlinepubs/009695399/>), but in
+function (e.g. @.@ or @..@ under
+<http://www.opengroup.org/onlinepubs/009695399 POSIX>), but in
this standard all such entries are considered to form part of the
directory contents. Entries in sub-directories are not, however,
considered to form part of the directory contents.
@@ -965,7 +965,7 @@ findFilesWith f (d:ds) fileName = do
#ifdef __GLASGOW_HASKELL__
{- |@'getDirectoryContents' dir@ returns a list of /all/ entries
-in /dir/.
+in /dir/, including @.@ and @..@ (even on Windows).
The operation may fail with:
More information about the ghc-commits
mailing list