| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
|
| |
It's very unlikely the current `unix` code stands any chance of even
remotely work with Hugs...
|
|
|
|
|
|
| |
We haven't properly supported Windows for some time now, and we wouldn't
have any way to test anyway, since GHC doesn't support Cygwin anymore
either.
|
|
|
|
|
|
| |
...on recently touched files
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
| |
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
|
|
|
|
|
|
|
| |
By avoiding `import Foreign` this accomplishes backward-compatibility
w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP
conditionals.
Moreover, in order to support base<4.7 this commits needs to reintroduce
a harmless backport of `newFilePath`.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
|
|
|
| |
The changelog file will be shown on Hackage once it's included in the
source tarball.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
|
|
|
|
|
|
|
|
| |
Only language extensions not active when `-XHaskell2010` is enabled are
declared, this way we can drop many redundant
`{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also
removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
|
| |
|
| |
|
|
|
|
| |
Fixes signals004(threaded1,threaded2) on OS X 32.
|
|
|
|
| |
I assume that this is what was intended.
|
|
|
|
| |
and remove code to support older versions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes warnings following
commit 910a642294eb3547d0cbb3d5735ad81b964f137b
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date: Mon Oct 29 23:25:25 2012 +0000
Do not treat a constructor in a *pattern* as a *use* of that constructor
I'm not sure if this is the right thing to do: In
commit 1c4608e3b8737dbb9204f850af4d680ccea7d8ec
Author: Simon Marlow <marlowsd@gmail.com>
Date: Thu Feb 19 10:05:32 2009 +0000
Rewrite of signal-handling.
the commit message says:
The new implementation has the capability to define signal handlers
that have access to the siginfo of the signal (#592), but this
functionality is not exposed in this patch.
but this at least gets validate builds working again, and we can change
it if necessary as part of #2451
|
| |
|
|
|
|
| |
They broken the build on OSX. See #2979.
|
| |
|
| |
|
|
|
|
|
| |
Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in
trac #5480.
|
| |
|
| |
|
|
|
|
| |
all signals reserved by RTS (#4504)
|
| |
|
| |
|
|
|
|
| |
Not sure where this patch came from, I found it in my validate tree.
|
| |
|
| |
|
| |
|
| |
|
|
The API is the same (for now). The new implementation has the
capability to define signal handlers that have access to the siginfo
of the signal (#592), but this functionality is not exposed in this
patch.
#2451 is the ticket for the new API.
The main purpose of bringing this in now is to fix race conditions in
the old signal handling code (#2858). Later we can enable the new
API in the HEAD.
Implementation differences:
- More of the signal-handling is moved into Haskell. We store the
table of signal handlers in an MVar, rather than having a table of
StablePtrs in the RTS.
- In the threaded RTS, the siginfo of the signal is passed down the
pipe to the IO manager thread, which manages the business of
starting up new signal handler threads. In the non-threaded RTS,
the siginfo of caught signals is stored in the RTS, and the
scheduler starts new signal handler threads.
|