ghc.git
11 years agoFIX dynamic001, dynamic002: further fixes to tuple printing
Simon Marlow [Mon, 11 Feb 2008 10:19:08 +0000 (10:19 +0000)] 
FIX dynamic001, dynamic002: further fixes to tuple printing

11 years agountabify
Don Stewart [Wed, 13 Feb 2008 22:19:50 +0000 (22:19 +0000)] 
untabify

11 years agountabify only
Don Stewart [Wed, 13 Feb 2008 22:18:56 +0000 (22:18 +0000)] 
untabify only

11 years agowhitespace only
Don Stewart [Thu, 7 Feb 2008 19:19:39 +0000 (19:19 +0000)] 
whitespace only

11 years agoWhitespace only
Don Stewart [Thu, 7 Feb 2008 18:39:54 +0000 (18:39 +0000)] 
Whitespace only

11 years agoFIX dynamic001 dynamic002: isTupleTyCon had rotted
Simon Marlow [Tue, 5 Feb 2008 10:39:04 +0000 (10:39 +0000)] 
FIX dynamic001 dynamic002: isTupleTyCon had rotted
In the patch "Tuple tycons have parens around their names", the names
of the tuple tycons were changed to include parens, but isTupleTyCon
was not updated to match, which made tuple types show as "(,) a b"
rather than "(a,b)"

11 years agodeforestation rules for enumFromThenTo; based on a patch from Robin Houston
Ian Lynagh [Sun, 3 Feb 2008 15:27:55 +0000 (15:27 +0000)] 
deforestation rules for enumFromThenTo; based on a patch from Robin Houston

12 years agoGeneralise type of forever :: (Monad m) => m a -> m b
Don Stewart [Tue, 29 Jan 2008 19:19:40 +0000 (19:19 +0000)] 
Generalise type of forever :: (Monad m) => m a -> m b

12 years agoFIX #1936: hGetBufNonBlocking was blocking on stdin/stdout/stderr
Simon Marlow [Thu, 24 Jan 2008 09:22:03 +0000 (09:22 +0000)] 
FIX #1936: hGetBufNonBlocking was blocking on stdin/stdout/stderr

12 years agoThe default uncaught exception handler was adding an extra \n
Simon Marlow [Thu, 24 Jan 2008 09:12:16 +0000 (09:12 +0000)] 
The default uncaught exception handler was adding an extra \n

12 years agoadd comment about lack of _chsize_s()
Simon Marlow [Wed, 23 Jan 2008 13:12:48 +0000 (13:12 +0000)] 
add comment about lack of _chsize_s()

12 years agoWindows: large file support for hFileSize and hSeek (#1771)
Simon Marlow [Wed, 23 Jan 2008 10:29:04 +0000 (10:29 +0000)] 
Windows: large file support for hFileSize and hSeek (#1771)

12 years agoExport topHandler, topHandlerFastExit from GHC.TopHandler
Ian Lynagh [Sun, 20 Jan 2008 18:24:29 +0000 (18:24 +0000)] 
Export topHandler, topHandlerFastExit from GHC.TopHandler
We now use one of these in ghc when running with ghc -e

12 years agohaddock attributes for haddock-2.0
Ross Paterson [Sun, 20 Jan 2008 02:23:08 +0000 (02:23 +0000)] 
haddock attributes for haddock-2.0

12 years agoData.List.sort: force elements from start to end.
Bertram Felgenhauer [Wed, 21 Nov 2007 10:14:58 +0000 (10:14 +0000)] 
Data.List.sort: force elements from start to end.
this prevents a stack overflow on  sort (take 10^6 [1..])

12 years agoFix comment on GHC.Ptr.minusPtr
simonpj@microsoft.com [Wed, 9 Jan 2008 11:47:36 +0000 (11:47 +0000)] 
Fix comment on GHC.Ptr.minusPtr

12 years agoRemove redundant imports of GHC.Err
simonpj@microsoft.com [Fri, 4 Jan 2008 09:13:14 +0000 (09:13 +0000)] 
Remove redundant imports of GHC.Err

GHC.Base SOURCE-imports GHC.Err, and re-exports 'error'.  So
other modules need only import GHC.Base.

This doesn't change the fact that these other modules are all compiled
before GHC.Err, so they are all part of the module loop that starts with
GHC.Base and finishes with GHC.Err.  But it does reduce the occurrence
of those SOURCE imports.

12 years agoTuple tycons have parens around their names
simonpj@microsoft [Thu, 20 Dec 2007 17:18:12 +0000 (17:18 +0000)] 
Tuple tycons have parens around their names

The name of the pair TyCon, in the Typeable instance,
should be "(,)" not ",".

Don't merge to 6.8; it's a minor API change.

12 years agoAdd groupWith, sortWith, the, to support generalised list comprehensions
simonpj@microsoft.com [Thu, 20 Dec 2007 11:19:29 +0000 (11:19 +0000)] 
Add groupWith, sortWith, the, to support generalised list comprehensions

  This the base-library patch to support the main compiler patch
     Implement generalised list comprehensions

  It just adds three functions to GHC.Exts.

12 years agoAdd GHC.Prim to exposedModules in the Haddock 0.x hook
David Waern [Sun, 9 Dec 2007 17:39:31 +0000 (17:39 +0000)] 
Add GHC.Prim to exposedModules in the Haddock 0.x hook

Please merge to the stable branch

12 years agoAdd GHC.Prim to exposedModules in the Haddock 0.x hook
David Waern [Sun, 9 Dec 2007 17:39:31 +0000 (17:39 +0000)] 
Add GHC.Prim to exposedModules in the Haddock 0.x hook

Please merge to the stable branch

12 years agoSimplify the GHC.Prim hack in base.cabal/Setup.hs
Ian Lynagh [Sun, 2 Dec 2007 21:57:58 +0000 (21:57 +0000)] 
Simplify the GHC.Prim hack in base.cabal/Setup.hs

12 years agoImplement 'openTempFile' for nhc98.
Malcolm.Wallace@cs.york.ac.uk [Fri, 7 Dec 2007 13:33:35 +0000 (13:33 +0000)] 
Implement 'openTempFile' for nhc98.

12 years agodocs: describe the changes to forkIO, and document forkOnIO
Simon Marlow [Wed, 5 Dec 2007 09:14:23 +0000 (09:14 +0000)] 
docs: describe the changes to forkIO, and document forkOnIO

12 years agodoc only: use realToFrac instead of fromRational.toRational
Simon Marlow [Wed, 5 Dec 2007 09:13:34 +0000 (09:13 +0000)] 
doc only: use realToFrac instead of fromRational.toRational

12 years agoAdd singletonP to GHC.PArr
Roman Leshchinskiy [Wed, 5 Dec 2007 22:08:59 +0000 (22:08 +0000)] 
Add singletonP to GHC.PArr

12 years agoFIX #1621: bug in Windows code for getCPUTime
Simon Marlow [Wed, 5 Dec 2007 12:01:18 +0000 (12:01 +0000)] 
FIX #1621: bug in Windows code for getCPUTime
We were reading the components of FILETIME as CLong, when they should
be unsigned.  Word32 seems to be the correct type here.

12 years agoprotect console handler against concurrent access (#1922)
Simon Marlow [Tue, 4 Dec 2007 15:39:40 +0000 (15:39 +0000)] 
protect console handler against concurrent access (#1922)

12 years agoprotect against concurrent access to the signal handlers (#1922)
Simon Marlow [Tue, 4 Dec 2007 11:08:17 +0000 (11:08 +0000)] 
protect against concurrent access to the signal handlers (#1922)

12 years agorestore fdToHandle' to avoid breaking clients (#1109)
Simon Marlow [Fri, 30 Nov 2007 13:51:22 +0000 (13:51 +0000)] 
restore fdToHandle' to avoid breaking clients (#1109)

12 years agonote about how to convert CTime (aka EpochTime) to UTCTime
Simon Marlow [Fri, 30 Nov 2007 10:16:48 +0000 (10:16 +0000)] 
note about how to convert CTime (aka EpochTime) to UTCTime

12 years agoFix some URLs
Ian Lynagh [Mon, 26 Nov 2007 21:42:13 +0000 (21:42 +0000)] 
Fix some URLs

12 years agoFix some links in haddock docs
Ian Lynagh [Mon, 26 Nov 2007 18:44:28 +0000 (18:44 +0000)] 
Fix some links in haddock docs

12 years agoDon't try to make haddock links to the mtl package as we don't depend on it
Ian Lynagh [Mon, 26 Nov 2007 17:06:31 +0000 (17:06 +0000)] 
Don't try to make haddock links to the mtl package as we don't depend on it

12 years agoEscape some special characters in haddock docs
Ian Lynagh [Mon, 26 Nov 2007 16:34:43 +0000 (16:34 +0000)] 
Escape some special characters in haddock docs

12 years agoFIX BUILD: maybeUpdateFile: ignore failures when removing the target
Simon Marlow [Fri, 23 Nov 2007 09:22:19 +0000 (09:22 +0000)] 
FIX BUILD: maybeUpdateFile: ignore failures when removing the target

12 years agoFIX #1753
Simon Marlow [Thu, 22 Nov 2007 09:42:07 +0000 (09:42 +0000)] 
FIX #1753
hClose should close the Handle and unlock the file even if calling
close() fails for some reason.

12 years agoremove lockFile.h from install-includes
Simon Marlow [Wed, 21 Nov 2007 10:22:48 +0000 (10:22 +0000)] 
remove lockFile.h from install-includes

12 years agooops, we forgot to export traceShow
Simon Marlow [Wed, 21 Nov 2007 09:43:00 +0000 (09:43 +0000)] 
oops, we forgot to export traceShow

12 years agoFix compilation with GHC 6.2.x
Simon Marlow [Wed, 21 Nov 2007 08:43:41 +0000 (08:43 +0000)] 
Fix compilation with GHC 6.2.x

12 years agoMove file locking into the RTS, fixing #629, #1109
Simon Marlow [Tue, 20 Nov 2007 12:10:53 +0000 (12:10 +0000)] 
Move file locking into the RTS, fixing #629, #1109
File locking (of the Haskell 98 variety) was previously done using a
static table with linear search, which had two problems: the array had
a fixed size and was sometimes too small (#1109), and performance of
lockFile/unlockFile was suboptimal due to the linear search.
Also the algorithm failed to count readers as required by Haskell 98
(#629).

Now it's done using a hash table (provided by the RTS).  Furthermore I
avoided the extra fstat() for every open file by passing the dev_t and
ino_t into lockFile.  This and the improvements to the locking
algorithm result in a healthy 20% or so performance increase for
opening/closing files (see openFile008 test).

12 years agoOnly overwrite GHC/Prim.hs and GHC/Primopwrappers.hs if they change
Simon Marlow [Tue, 20 Nov 2007 10:20:42 +0000 (10:20 +0000)] 
Only overwrite GHC/Prim.hs and GHC/Primopwrappers.hs if they change
This avoids make doing unnecessary work after 'setup makefile'.

12 years agofix comment
Simon Marlow [Fri, 16 Nov 2007 09:12:27 +0000 (09:12 +0000)] 
fix comment

12 years agoFix ` characters in elem's haddock docs
Ian Lynagh [Sat, 10 Nov 2007 17:30:52 +0000 (17:30 +0000)] 
Fix ` characters in elem's haddock docs

12 years agoFilter out GHC.Prim also for the Haddock step
David Waern [Fri, 9 Nov 2007 00:08:06 +0000 (00:08 +0000)] 
Filter out GHC.Prim also for the Haddock step
Please merge to the GHC 6.8.2 branch

12 years agoAdd module of special magic GHC desugaring helper functions
Simon Marlow [Fri, 2 Nov 2007 16:00:54 +0000 (16:00 +0000)] 
Add module of special magic GHC desugaring helper functions
Currently containing only one such helper: (>>>) for arrow desugaring

12 years agoadd Control.Category to the nhc98 build
Malcolm.Wallace@cs.york.ac.uk [Tue, 30 Oct 2007 12:04:59 +0000 (12:04 +0000)] 
add Control.Category to the nhc98 build

12 years agofix nhc98 build: need a qualified Prelude import
Malcolm.Wallace@cs.york.ac.uk [Tue, 30 Oct 2007 12:04:10 +0000 (12:04 +0000)] 
fix nhc98 build: need a qualified Prelude import

12 years agoFix performance regression: re-instate -funbox-strict-fields
Simon Marlow [Mon, 29 Oct 2007 15:07:30 +0000 (15:07 +0000)] 
Fix performance regression: re-instate -funbox-strict-fields
Yikes!  While investigating the increase in code size with GHC 6.8
relative to 6.6, I noticed that in the transition to Cabal for the
libraries we lost -funbox-strict-fields, which is more or less
depended on by the IO library for performance.  I'm astonished that we
didn't notice this earlier!

To reduce the chances of this happening again, I put
-funbox-strict-fields in the OPTIONS_GHC pragma of the modules that
need it.  {-# UNPACK #-} pragmas would be better, though.

12 years agoFIX BUILD: Haddock 1.x fails to parse (Prelude..)
Simon Marlow [Mon, 29 Oct 2007 13:19:21 +0000 (13:19 +0000)] 
FIX BUILD: Haddock 1.x fails to parse (Prelude..)

12 years agonew Control.Category, ghc ticket #1773
Ashley Yakeley [Mon, 29 Oct 2007 02:25:26 +0000 (02:25 +0000)] 
new Control.Category, ghc ticket #1773

12 years agonew Control.Compositor module
Ashley Yakeley [Sat, 13 Oct 2007 07:48:51 +0000 (07:48 +0000)] 
new Control.Compositor module

The Compositor class is a superclass of Arrow.

12 years agoFix doc building with Haddock 0.9
Simon Marlow [Wed, 24 Oct 2007 09:09:47 +0000 (09:09 +0000)] 
Fix doc building with Haddock 0.9
I was using a recent build here, which is more tolerant.

12 years agoFIX #1258: document that openTempFile is secure(ish)
Simon Marlow [Tue, 23 Oct 2007 13:09:28 +0000 (13:09 +0000)] 
FIX #1258: document that openTempFile is secure(ish)
Also change the mode from 0666 to 0600, which seems like a more
sensible value and matches what C's mkstemp() does.

12 years agoClean up .cabal file a bit
Duncan Coutts [Mon, 22 Oct 2007 13:27:08 +0000 (13:27 +0000)] 
Clean up .cabal file a bit
specify build-type and cabal-version >= 1.2
put extra-tmp-files in the right place
use os(windows) rather than os(mingw32)

12 years agobase in 6.8 and head branch should be version 3.0
Don Stewart [Sun, 7 Oct 2007 15:04:08 +0000 (15:04 +0000)] 
base in 6.8 and head branch should be version 3.0

12 years agoFIX #1652: openTempFile should accept an empty string for the directory
Simon Marlow [Thu, 18 Oct 2007 12:23:45 +0000 (12:23 +0000)] 
FIX #1652: openTempFile should accept an empty string for the directory

12 years agoclean up duplicate code
Simon Marlow [Wed, 17 Oct 2007 14:13:11 +0000 (14:13 +0000)] 
clean up duplicate code

12 years agoexpose the value of +RTS -N as GHC.Conc.numCapabilities (see #1733)
Simon Marlow [Tue, 9 Oct 2007 13:20:42 +0000 (13:20 +0000)] 
expose the value of +RTS -N as GHC.Conc.numCapabilities (see #1733)

12 years agotypo
Simon Marlow [Mon, 17 Sep 2007 13:07:03 +0000 (13:07 +0000)] 
typo

12 years agoput extra-tmp-files field in the right place
Simon Marlow [Fri, 14 Sep 2007 14:08:12 +0000 (14:08 +0000)] 
put extra-tmp-files field in the right place

12 years agoAdd more entries to boring file
Ian Lynagh [Thu, 13 Sep 2007 21:05:00 +0000 (21:05 +0000)] 
Add more entries to boring file

12 years agoAdd a boring file
Ian Lynagh [Thu, 13 Sep 2007 20:46:41 +0000 (20:46 +0000)] 
Add a boring file

12 years agoFIX #1689 (openTempFile returns wrong filename)
Tim Chevalier [Thu, 13 Sep 2007 05:20:25 +0000 (05:20 +0000)] 
FIX #1689 (openTempFile returns wrong filename)

12 years agoRemove some incorrect rules; fixes #1658: CSE [of Doubles] changes semantics
Ian Lynagh [Tue, 4 Sep 2007 13:41:40 +0000 (13:41 +0000)] 
Remove some incorrect rules; fixes #1658: CSE [of Doubles] changes semantics

12 years agomake hWaitForInput/hReady not fail with "invalid argument" on Windows
Simon Marlow [Thu, 30 Aug 2007 13:11:15 +0000 (13:11 +0000)] 
make hWaitForInput/hReady not fail with "invalid argument" on Windows
See #1198.  This doesn't fully fix it, because hReady still always
returns False on file handles.  I'm not really sure how to fix that.

12 years agoFix haddock docs in Hashtable
Ian Lynagh [Thu, 30 Aug 2007 15:41:31 +0000 (15:41 +0000)] 
Fix haddock docs in Hashtable

12 years agoFix building HashTable: Use ord rather than fromEnum
Ian Lynagh [Thu, 30 Aug 2007 15:02:14 +0000 (15:02 +0000)] 
Fix building HashTable: Use ord rather than fromEnum

12 years agoBetter hash functions for Data.HashTable, from Jan-Willem Maessen
Ian Lynagh [Thu, 30 Aug 2007 14:28:44 +0000 (14:28 +0000)] 
Better hash functions for Data.HashTable, from Jan-Willem Maessen

12 years agoRemove redundant include/Makefile
Ian Lynagh [Tue, 28 Aug 2007 20:56:59 +0000 (20:56 +0000)] 
Remove redundant include/Makefile

12 years agoMake arrays safer (e.g. trac #1046)
Ian Lynagh [Fri, 10 Aug 2007 16:34:05 +0000 (16:34 +0000)] 
Make arrays safer (e.g. trac #1046)

12 years agodelete configure droppings in setup clean
Simon Marlow [Fri, 24 Aug 2007 10:41:00 +0000 (10:41 +0000)] 
delete configure droppings in setup clean

12 years agoFIX #1282: 64-bit unchecked shifts are not exported from base
Simon Marlow [Thu, 23 Aug 2007 13:50:33 +0000 (13:50 +0000)] 
FIX #1282: 64-bit unchecked shifts are not exported from base
I've exported these functions from GHC.Exts.  They are still
implemented using the FFI underneath, though.

To avoid conditional exports, on a 64-bit build:

  uncheckedShiftL64# = uncheckShiftL#

(etc.) which has a different type than the 32-bit version of
uncheckedShiftL64#, but at least GHC.Exts exports the same names.

12 years agoFix hashInt
Ian Lynagh [Tue, 21 Aug 2007 14:07:06 +0000 (14:07 +0000)] 
Fix hashInt
As pointed out in
http://www.haskell.org/pipermail/glasgow-haskell-bugs/2007-August/009545.html
the old behaviour was
Prelude Data.HashTable> map hashInt [0..10]
[0,-1,-1,-2,-2,-2,-3,-3,-4,-4,-4]

Fixed according to the "Fibonacci Hashing" algorithm described in
http://www.brpreiss.com/books/opus4/html/page213.html
http://www.brpreiss.com/books/opus4/html/page214.html

12 years agotest impl(ghc) instead of IsGHC
Ross Paterson [Sun, 19 Aug 2007 23:35:00 +0000 (23:35 +0000)] 
test impl(ghc) instead of IsGHC

12 years agofpstring.h has moved to bytestring
Ross Paterson [Sun, 19 Aug 2007 23:38:15 +0000 (23:38 +0000)] 
fpstring.h has moved to bytestring

12 years agoremove now-unused SIG constants
Ross Paterson [Sun, 19 Aug 2007 23:37:45 +0000 (23:37 +0000)] 
remove now-unused SIG constants

12 years agoinclude Win32 extra-libraries for non-GHC's too
Ross Paterson [Sun, 19 Aug 2007 23:36:11 +0000 (23:36 +0000)] 
include Win32 extra-libraries for non-GHC's too

12 years agoDon't import Distribution.Setup in Setup.hs as we no longer need it
Ian Lynagh [Thu, 16 Aug 2007 15:16:43 +0000 (15:16 +0000)] 
Don't import Distribution.Setup in Setup.hs as we no longer need it

12 years agoCorrect the swapMVar haddock doc
Ian Lynagh [Tue, 14 Aug 2007 14:50:28 +0000 (14:50 +0000)] 
Correct the swapMVar haddock doc

12 years agoinstall Typeable.h for use by other packages
Malcolm.Wallace@cs.york.ac.uk [Mon, 13 Aug 2007 11:28:55 +0000 (11:28 +0000)] 
install Typeable.h for use by other packages

12 years agoDon't try to build modules no longer living in base.
Malcolm.Wallace@cs.york.ac.uk [Mon, 13 Aug 2007 11:28:03 +0000 (11:28 +0000)] 
Don't try to build modules no longer living in base.

12 years agoMove Data.{Foldable,Traversable} back to base
Ian Lynagh [Sun, 12 Aug 2007 16:56:54 +0000 (16:56 +0000)] 
Move Data.{Foldable,Traversable} back to base
The Array instances are now in Data.Array.

12 years agoRemove bits left over from the old build system
Ian Lynagh [Sat, 11 Aug 2007 13:50:19 +0000 (13:50 +0000)] 
Remove bits left over from the old build system

12 years agoMove the datamap001 (our only test) to the containers package
Ian Lynagh [Fri, 3 Aug 2007 18:09:32 +0000 (18:09 +0000)] 
Move the datamap001 (our only test) to the containers package

12 years agoData.Array* and Data.PackedString have now moved to their own packages
Ian Lynagh [Wed, 1 Aug 2007 23:55:42 +0000 (23:55 +0000)] 
Data.Array* and Data.PackedString have now moved to their own packages

12 years agoRemove a number of modules now in a "containers" package
Ian Lynagh [Wed, 1 Aug 2007 22:38:58 +0000 (22:38 +0000)] 
Remove a number of modules now in a "containers" package

12 years agoRemove System.Posix.Signals (moving to unix)
Ian Lynagh [Sun, 29 Jul 2007 21:52:13 +0000 (21:52 +0000)] 
Remove System.Posix.Signals (moving to unix)

12 years agobytestring is now in its own package
Ian Lynagh [Sun, 29 Jul 2007 13:22:15 +0000 (13:22 +0000)] 
bytestring is now in its own package

12 years agoExport throwErrnoPath* functions
Ian Lynagh [Sun, 22 Jul 2007 00:29:23 +0000 (00:29 +0000)] 
Export throwErrnoPath* functions

12 years agoAdd simple haddock docs for throwErrnoPath* functions
Ian Lynagh [Sun, 22 Jul 2007 00:28:17 +0000 (00:28 +0000)] 
Add simple haddock docs for throwErrnoPath* functions

12 years agoMove throwErrnoPath* functions from unix:System.Posix.Error
Ian Lynagh [Sun, 22 Jul 2007 00:27:46 +0000 (00:27 +0000)] 
Move throwErrnoPath* functions from unix:System.Posix.Error

12 years agoClarify the swapMVar haddock doc
Ian Lynagh [Tue, 7 Aug 2007 18:55:57 +0000 (18:55 +0000)] 
Clarify the swapMVar haddock doc

12 years agofix Haddock markup
Simon Marlow [Thu, 2 Aug 2007 08:17:17 +0000 (08:17 +0000)] 
fix Haddock markup

12 years agoTemporarily fix breakage for nhc98.
Malcolm.Wallace@cs.york.ac.uk [Wed, 1 Aug 2007 16:37:50 +0000 (16:37 +0000)] 
Temporarily fix breakage for nhc98.
A recent patch to System.IO introduced a cyclic dependency on Foreign.C.Error,
and also inadvertently dragged along System.Posix.Internals which has
non-H'98 layout, causing many build problems.  The solution for now
is to #ifndef __NHC__ all of the recent the openTempFile additions,
and mark them non-portable once again.  (I also took the opportunity
to note a number of other non-portable functions in their Haddock
comments.)

12 years agoGeneralise the type of synthesize, as suggested by Trac #1571
simonpj@microsoft [Wed, 1 Aug 2007 12:52:08 +0000 (12:52 +0000)] 
Generalise the type of synthesize, as suggested by Trac #1571

I have not looked at the details, but the type checker is happy with the
more general type, and more general types are usually a Good Thing.

12 years agoFix fdToHandle on Windows
Ian Lynagh [Mon, 30 Jul 2007 13:31:39 +0000 (13:31 +0000)] 
Fix fdToHandle on Windows
The old setmode code was throwing an exception, and I'm not sure it is
meant to do what we need anyway. For now we assume that all FDs are
both readable and writable.

12 years agoCorrect Windows OS name in cabal configuration
Ian Lynagh [Sun, 29 Jul 2007 16:17:39 +0000 (16:17 +0000)] 
Correct Windows OS name in cabal configuration

12 years agoUse cabal configurations rather than Setup hacks
Ian Lynagh [Sun, 29 Jul 2007 13:21:57 +0000 (13:21 +0000)] 
Use cabal configurations rather than Setup hacks

12 years agoHandle buffers should be allocated with newPinnedByteArray# always
Simon Marlow [Wed, 25 Jul 2007 09:55:50 +0000 (09:55 +0000)] 
Handle buffers should be allocated with newPinnedByteArray# always
Not just on Windows.  This change is required because we now use safe
foreign calls for I/O on blocking file descriptors with the threaded
RTS.  Exposed by concio001.thr on MacOS X: MacOS apparently uses
smaller buffers by default, so they weren't being allocated as large
objects.