|
[GHC] #869: Foreign.C.String.withCStringLen doesn't terminate C string by N: msg#00120lang.haskell.glasgow.bugs
#869: Foreign.C.String.withCStringLen doesn't terminate C string by NUL -------------------------------+-------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 6.4.2 Severity: normal | Keywords: Os: Linux | Difficulty: Unknown Architecture: x86 | -------------------------------+-------------------------------------------- Although the document of withCStringLen says "Marshal a Haskell string into a NUL terminated C string using temporary storage", it seems that C string is not terminated by NUL. {{{ $ uname -a Linux li9-154 2.4.29-linode39-1um #1 Wed Jan 19 12:22:14 EST 2005 i686 GNU/Linux $ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.4.2 }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/869> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #683: RULES for recursive functions don't work properly, GHC |
|---|---|
| Next by Date: | Re: [GHC] #869: Foreign.C.String.withCStringLen doesn't terminate C string by NUL, GHC |
| Previous by Thread: | Re: [GHC] #683: RULES for recursive functions don't work properly, GHC |
| Next by Thread: | Re: [GHC] #869: Foreign.C.String.withCStringLen doesn't terminate C string by NUL, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |