[project @ 2004-09-01 09:47:31 by simonmar] Win32 rawSystem: set errno to EINVAL on error.  This is a gross hack, but is slightly better than the existing situation (errno not set at all, caller tries to report errno and draws a blank).
[project @ 2004-09-01 09:47:31 by simonmar]
Win32 rawSystem: set errno to EINVAL on error.  This is a gross hack,
but is slightly better than the existing situation (errno not set at
all, caller tries to report errno and draws a blank).

Microsoft's C runtime has a conversion function from Win32 error codes
into errno error codes, but it isn't part of the external interface.
grrrrr.

Strictly speaking, we should have support for Win32 error codes in the
base package.

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