summaryrefslogtreecommitdiff
path: root/gettext/prj
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-14 22:52:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-15 12:22:49 +0000
commit66c3655a07e109d88183002192410bcc9866c0f2 (patch)
tree019188e9165edc40641dd5a6836e94a64529c5d7 /gettext/prj
parentace8398c5782caf6c5d9066b8e67afa652448954 (diff)
convert ReadCString from ByteString to OString
Nobody ever checked the return value anyway, so just return the string and use the stream state bits if necessary to find failures. Doesn't need to be a member, make a standalone function Rename it to read_zeroTerminated_uInt8s_AsO[U]String, stupid perhaps, but *shrug*, unambiguous. Drop misleading overloaded String variants use: read_zeroTerminated_uInt8s_AsOString or read_zeroTerminated_uInt8s_AsOUString added a unit test, valgrinded it, found and fixed invalid read in original implementation.
Diffstat (limited to 'gettext/prj')
0 files changed, 0 insertions, 0 deletions