projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0f3c1f
)
[project @ 2004-10-05 12:51:33 by simonmar]
author
simonmar
<unknown>
Tue, 5 Oct 2004 12:51:33 +0000
(12:51 +0000)
committer
simonmar
<unknown>
Tue, 5 Oct 2004 12:51:33 +0000
(12:51 +0000)
inputReady foreign import should be "safe.
GHC/IO.hs
patch
|
blob
|
history
diff --git
a/GHC/IO.hs
b/GHC/IO.hs
index
29fdc60
..
2872944
100644
(file)
--- a/
GHC/IO.hs
+++ b/
GHC/IO.hs
@@
-93,7
+93,7
@@
hWaitForInput h msecs = do
(fromIntegral msecs) (haIsStream handle_)
return (r /= 0)
-foreign import ccall unsafe "inputReady"
+foreign import ccall safe "inputReady"
inputReady :: CInt -> CInt -> Bool -> IO CInt
-- ---------------------------------------------------------------------------