|
Re: peekCString stack overflow: msg#00010lang.haskell.glasgow.bugs
Actually what I really need is peekCStringLen. This function can surely avoid stack overflow by building up the result from right to left? I think for peekCString the solution might be to get the length using the C function strlen (which is more optimised than a Haskell alternative) and then call peekCStringLen.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: peekCString stack overflow, Simon Marlow |
|---|---|
| Next by Date: | [ ghc-Bugs-818425 ] Bad sparc Int64 code via NCG with -O, SourceForge.net |
| Previous by Thread: | Re: peekCString stack overflow, Ross Paterson |
| Next by Thread: | RE: peekCString stack overflow, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |