[commit: packages/directory] improve-tests, improve-tests-for-real, master: Update docs on Windows location of AppUserDataDirectory (a1ebcf8)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:37:18 UTC 2015


Repository : ssh://git@git.haskell.org/directory

On branches: improve-tests,improve-tests-for-real,master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a1ebcf8044874aaca380c44d044749d80628634a/directory

>---------------------------------------------------------------

commit a1ebcf8044874aaca380c44d044749d80628634a
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Wed Feb 18 01:53:23 2015 -0500

    Update docs on Windows location of AppUserDataDirectory
    
    The location of AppUserDataDirectory since Windows Vista should be
    
        Users/user/AppData/Roaming
    
    rather than the archaic
    
        Documents and Settings/user/Application Data
    
    I think it's time for the docs to drop support for Windows XP :)


>---------------------------------------------------------------

a1ebcf8044874aaca380c44d044749d80628634a
 System/Directory.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Directory.hs b/System/Directory.hs
index 8f9b2c1..0a4e845 100644
--- a/System/Directory.hs
+++ b/System/Directory.hs
@@ -1124,7 +1124,7 @@ writable.
 On Unix, this function returns @$HOME\/.appName at .  On Windows, a
 typical path might be
 
-> C:/Documents And Settings/user/Application Data/appName
+> C:/Users/user/AppData/Roaming/appName
 
 The operation may fail with:
 



More information about the ghc-commits mailing list