[GHC] #3081: Double output after Ctrl+C on Windows
Neil Mitchell
ndmitchell at gmail.com
Thu Mar 12 06:30:04 EDT 2009
Hi
I think I'm confused. I thought Ctrl+C was "abort the program now", so
figured that foo >> bar, where foo get's a Ctrl+C means bar is never
executed? The double buffering thing I can understand, but the fact
that bar gets executed at all is a little confusing.
What if I did:
system "cp foo foo.bup" >> deleteFile "foo"
If I Ctrl+C during the cp did I just delete my one copy of foo?
Thanks
Neil
On Thu, Mar 12, 2009 at 10:18 AM, GHC <trac at galois.com> wrote:
> #3081: Double output after Ctrl+C on Windows
> -------------------------------+--------------------------------------------
> Reporter: NeilMitchell | Owner:
> Type: bug | Status: new
> Priority: normal | Milestone: _|_
> Component: Runtime System | Version: 6.10.1
> Severity: normal | Resolution:
> Keywords: | Difficulty: Unknown
> Testcase: | Os: Windows
> Architecture: x86 |
> -------------------------------+--------------------------------------------
> Changes (by simonmar):
>
> * owner: simonmar =>
>
> --
> Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3081#comment:4>
> GHC <http://www.haskell.org/ghc/>
> The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list