Bugs item #563651, was opened at 2002-06-02 23:37
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=563651&group_id=8032
Category: hslibs/lang
Group: 5.02
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mike Gunter (magunter)
>Assigned to: Sven Panne (spanne)
Summary: filterPS fails if skips > 255 characters
Initial Comment:
The following program:
import System ( getArgs )
import PackedString ( filterPS, packString )
main = System.getArgs >>= realMain
realMain [c:[]] = print $ filterPS (c ==) (packString
str)
where str = replicate 252 'y' ++ "abcdef"
will segmentation fault if given ["d"], ["e"], or ["f"]
as it's arguments.
Things work as expect with any other argument.
Similarly, GHCi
segmentation faults when you try to evaluate realMain
["d"], etc.
This is 5.02.3 on Debian x86.
thanks,
mike
----------------------------------------------------------------------
>Comment By: Sven Panne (spanne)
Date: 2002-06-03 19:47
Message:
Logged In: YES
user_id=50298
Thanks, fixed.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=563651&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs