[haskeline] #113: Use CAString FFI functions instead of CString ones

haskeline haskeline at projects.haskell.org
Mon Apr 11 22:23:18 BST 2011


#113: Use CAString FFI functions instead of CString ones
---------------------------+------------------------------------------------
Reporter:  batterseapower  |       Owner:     
    Type:  enhancement     |      Status:  new
Priority:  minor           |   Milestone:     
 Version:                  |    Keywords:     
---------------------------+------------------------------------------------
 Haskeline uses Foreign.C.String.*CString to marshal locale names. Locale
 names will always be encoded in ASCII, so it would probably be prudent to
 use the *CAString variants instead to prevent use of the locale encoding
 from screwing things up.

 Attached patch achieves this.

-- 
Ticket URL: <http://trac.haskell.org/haskeline/ticket/113>
haskeline <http://example.org/>
My example project


More information about the Haskeline mailing list