[darcs-users] darcs patch: refactor get_global, make it more cross-platform

Simon Michael simon at joyful.com
Sun Oct 26 22:15:38 UTC 2008


Sun Oct 26 15:03:54 PDT 2008  Simon Michael <simon at joyful.com>
  * refactor get_global, make it more cross-platform
  get_global fetches global preferences from the user's ~/.darcs directory.
  This patch uses the more portable getAppUserDataDirectory, so global
  prefs will work on windows without requiring a HOME environment
  variable, and will be stored in the standard windows app data dir
  (eg C:/Documents And Settings/user/Application Data/darcs).
  Cf http://hackage.haskell.org/trac/ghc/ticket/1838 .
  It also reduces the use of error-hiding catchall.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 36154 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081026/5599adc1/attachment-0001.bin 


More information about the darcs-users mailing list