[Hugs-users] bug with the "hPutChar h (chr 0)"

Bulat Ziganshin bulatz at HotPOP.com
Tue Jan 17 13:56:07 EST 2006


Hello ,

the following programs shows the bug in the WinHugs20051031 - it
doesn't write the '\0' chars to the files. this error shows only in
winhugs.exe, but not in hugs.exe nor in runhugs.exe

import Data.Char
import System.IO
main = do h <- openBinaryFile "test" WriteMode
          hPutChar h (chr 0)
          hClose h

ps: btw, Neil, there is one more small suggestion about WinHugs - in
the window showing the class hierarchy the scroller bar at the right is
not working properly. you know, it's the same bug, that was in the
WinHugs2003 with the scroller in main window
  

-- 
Best regards,
 Bulat                          mailto:bulatz at HotPOP.com





More information about the Hugs-Users mailing list