[project @ 2005-01-26 12:58:09 by simonmar] fileLoop: catch InvalidArgument and behave as for EOF (i.e. terminate the session).  This means that the user can close stdin to end a GHCi session, but it also means that the tests that run programs which use getContents inside GHCi won't crash because stdin has been closed.
[project @ 2005-01-26 12:58:09 by simonmar]
fileLoop: catch InvalidArgument and behave as for EOF (i.e. terminate
the session).  This means that the user can close stdin to end a GHCi
session, but it also means that the tests that run programs which use
getContents inside GHCi won't crash because stdin has been closed.

bitemyapp/ghc,ml9951/ghc,mfine/ghc,gcampax/ghc,urbanslug/ghc,vikraman/ghc,olsner/ghc,olsner/ghc,nathyong/microghc-ghc,nushio3/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,nomeata/ghc,nushio3/ghc,green-haskell/ghc,nkaretnikov/ghc,mcmaniac/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,hferreiro/replay,TomMD/ghc,gcampax/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,ml9951/ghc,fmthoma/ghc,mcschroeder/ghc,frantisekfarka/ghc-dsi,ilyasergey/GHC-XAppFix,ghc-android/ghc,ekmett/ghc,jstolarek/ghc,nushio3/ghc,mcmaniac/ghc,urbanslug/ghc,mettekou/ghc,ml9951/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,anton-dessiatov/ghc,gridaphobe/ghc,tibbe/ghc,lukexi/ghc-7.8-arm64,gcampax/ghc,mfine/ghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,green-haskell/ghc,ezyang/ghc,vTurbine/ghc,snoyberg/ghc,jstolarek/ghc,jstolarek/ghc,ghc-android/ghc,fmthoma/ghc,hferreiro/replay,hferreiro/replay,hferreiro/replay,nomeata/ghc,mettekou/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc,vikraman/ghc,sgillespie/ghc,nathyong/microghc-ghc,green-haskell/ghc,urbanslug/ghc,vTurbine/ghc,nathyong/microghc-ghc,vTurbine/ghc,tibbe/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,nomeata/ghc,oldmanmike/ghc,shlevy/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,gcampax/ghc,ml9951/ghc,lukexi/ghc-7.8-arm64,wxwxwwxxx/ghc,wxwxwwxxx/ghc,holzensp/ghc,elieux/ghc,frantisekfarka/ghc-dsi,ml9951/ghc,ekmett/ghc,mcmaniac/ghc,mcschroeder/ghc,snoyberg/ghc,lukexi/ghc,olsner/ghc,tjakway/ghcjvm,siddhanathan/ghc,sgillespie/ghc,nathyong/microghc-ghc,gcampax/ghc,tibbe/ghc,ezyang/ghc,ryantm/ghc,holzensp/ghc,gridaphobe/ghc,da-x/ghc,ilyasergey/GHC-XAppFix,christiaanb/ghc,lukexi/ghc,acowley/ghc,GaloisInc/halvm-ghc,tibbe/ghc,sgillespie/ghc,mcschroeder/ghc,snoyberg/ghc,christiaanb/ghc,da-x/ghc,lukexi/ghc-7.8-arm64,mcmaniac/ghc,nomeata/ghc,acowley/ghc,sdiehl/ghc,oldmanmike/ghc,anton-dessiatov/ghc,nushio3/ghc,mcschroeder/ghc,vikraman/ghc,shlevy/ghc,nathyong/microghc-ghc,christiaanb/ghc,mettekou/ghc,sdiehl/ghc,spacekitteh/smcghc,anton-dessiatov/ghc,da-x/ghc,elieux/ghc,ekmett/ghc,jstolarek/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,ml9951/ghc,oldmanmike/ghc,oldmanmike/ghc,TomMD/ghc,wxwxwwxxx/ghc,vikraman/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,gridaphobe/ghc,tjakway/ghcjvm,mfine/ghc,elieux/ghc,acowley/ghc,sdiehl/ghc,shlevy/ghc,nkaretnikov/ghc,sgillespie/ghc,christiaanb/ghc,ryantm/ghc,acowley/ghc,olsner/ghc,frantisekfarka/ghc-dsi,ezyang/ghc,mfine/ghc,vTurbine/ghc,ekmett/ghc,christiaanb/ghc,sdiehl/ghc,spacekitteh/smcghc,nkaretnikov/ghc,sgillespie/ghc,hferreiro/replay,olsner/ghc,elieux/ghc,fmthoma/ghc,shlevy/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,oldmanmike/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,acowley/ghc,frantisekfarka/ghc-dsi,ekmett/ghc,nathyong/microghc-ghc,oldmanmike/ghc,urbanslug/ghc,nomeata/ghc,gridaphobe/ghc,holzensp/ghc,oldmanmike/ghc,tjakway/ghcjvm,gcampax/ghc,snoyberg/ghc,siddhanathan/ghc,da-x/ghc,nkaretnikov/ghc,holzensp/ghc,wxwxwwxxx/ghc,green-haskell/ghc,hferreiro/replay,siddhanathan/ghc,urbanslug/ghc,fmthoma/ghc,da-x/ghc,gridaphobe/ghc,siddhanathan/ghc,anton-dessiatov/ghc,snoyberg/ghc,shlevy/ghc,sgillespie/ghc,mcschroeder/ghc,christiaanb/ghc,GaloisInc/halvm-ghc,vikraman/ghc,nushio3/ghc,ryantm/ghc,anton-dessiatov/ghc,TomMD/ghc,ghc-android/ghc,vTurbine/ghc,fmthoma/ghc,mettekou/ghc,ilyasergey/GHC-XAppFix,shlevy/ghc,christiaanb/ghc,nushio3/ghc,lukexi/ghc,frantisekfarka/ghc-dsi,vikraman/ghc,urbanslug/ghc,ml9951/ghc,acowley/ghc,bitemyapp/ghc,snoyberg/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,fmthoma/ghc,wxwxwwxxx/ghc,sdiehl/ghc,lukexi/ghc,da-x/ghc,gridaphobe/ghc,nkaretnikov/ghc,TomMD/ghc,ezyang/ghc,tjakway/ghcjvm,holzensp/ghc,ryantm/ghc,vTurbine/ghc,da-x/ghc,bitemyapp/ghc,nkaretnikov/ghc,gcampax/ghc,vikraman/ghc,urbanslug/ghc,sgillespie/ghc,AlexanderPankiv/ghc,vTurbine/ghc,TomMD/ghc,AlexanderPankiv/ghc,mfine/ghc,shlevy/ghc,tjakway/ghcjvm,mettekou/ghc,mcschroeder/ghc,olsner/ghc,snoyberg/ghc,lukexi/ghc-7.8-arm64,green-haskell/ghc,tibbe/ghc,nkaretnikov/ghc,sdiehl/ghc,gridaphobe/ghc,ghc-android/ghc,mettekou/ghc,ilyasergey/GHC-XAppFix,fmthoma/ghc,mettekou/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,nathyong/microghc-ghc,siddhanathan/ghc,bitemyapp/ghc,elieux/ghc,mfine/ghc,elieux/ghc,AlexanderPankiv/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,ghc-android/ghc,mcschroeder/ghc,mcmaniac/ghc,siddhanathan/ghc,ml9951/ghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,ezyang/ghc,TomMD/ghc,hferreiro/replay,elieux/ghc,ezyang/ghc,siddhanathan/ghc,bitemyapp/ghc