patch-libraries_base_System_IO_hs 815 B

123456789101112131415
  1. $OpenBSD: patch-libraries_base_System_IO_hs,v 1.5 2014/11/22 20:23:23 kili Exp $
  2. --- libraries/base/System/IO.hs.orig Thu Jul 10 06:32:11 2014
  3. +++ libraries/base/System/IO.hs Sun Nov 2 21:50:32 2014
  4. @@ -174,7 +174,9 @@ module System.IO (
  5. -- on your system, which is also available as 'localeEncoding'.
  6. -- (GHC note: on Windows, we currently do not support double-byte
  7. -- encodings; if the console\'s code page is unsupported, then
  8. - -- 'localeEncoding' will be 'latin1'.)
  9. + -- 'localeEncoding' will be 'latin1'. On OpenBSD, the default
  10. + -- encoding is always 'latin1' but can be overridden with the
  11. + -- environment variable `HS_ENCODING')
  12. --
  13. -- Encoding and decoding errors are always detected and reported,
  14. -- except during lazy I/O ('hGetContents', 'getContents', and