RE: fromInteger/hClose bugs in 4.03

1999-04-26 Thread Sigbjorn Finne (Intl Vendor)
Hannah Schroeter [EMAIL PROTECTED] writes: Hello! [older mail] On Sun, Feb 21, 1999 at 11:47:40PM -0800, Sigbjorn Finne (Intl Vendor) wrote: Sven Panne [EMAIL PROTECTED] writes: ... * hClose on a semi-closed handle fails (4.02 has this bug, too): [...] But

Re: fromInteger/hClose bugs in 4.03

1999-04-25 Thread Hannah Schroeter
Hello! [older mail] On Sun, Feb 21, 1999 at 11:47:40PM -0800, Sigbjorn Finne (Intl Vendor) wrote: Sven Panne [EMAIL PROTECTED] writes: ... * hClose on a semi-closed handle fails (4.02 has this bug, too): [...] But that's not the case here. By the time you get around to doing the

RE: fromInteger/hClose bugs in 4.03

1999-02-23 Thread Simon Marlow
OK, the Word module has been fixed in the repository, but not the Int module. Ok, done now. Hmmm, looking at the sources, I don't understand the reason why the IntXY methods for fromInteger use a case while the corresponding methods in Word don't: Int.lhs: [...] fromInteger (J#

RE: fromInteger/hClose bugs in 4.03

1999-02-22 Thread Sigbjorn Finne (Intl Vendor)
Sven Panne [EMAIL PROTECTED] writes: ... * hClose on a semi-closed handle fails (4.02 has this bug, too): import IO main = do h - openFile "/etc/passwd" ReadMode c - hGetContents h putStr c hClose h Transcript:

fromInteger/hClose bugs in 4.03

1999-02-21 Thread Sven Panne
The current ghc-4.03 from the repository contains two bugs: * In the modules Int and Word: The fromInteger methods handle the J# cases only, but not the S# cases. Example: import Word main = print ((fromInteger 42)::Word32) yields Fail: Word.lhs:573: