]> granicus.if.org Git - postgresql/commit
Fix (I think) broken usage of MultiByteToWideChar. I had missed the
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Nov 2007 21:20:07 +0000 (21:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Nov 2007 21:20:07 +0000 (21:20 +0000)
commitae3ff7adf79f5e2bcf6ce856cdf32abf0fe67468
treecbc09cff96226c202ea428e9eb61efb0a73c99f6
parent0f20e7a83e1e28e31daafb8219cbdd7348950541
Fix (I think) broken usage of MultiByteToWideChar.  I had missed the
subtlety that this function only returns a null terminator if it's
fed input that includes one; which, in the usage here, it's not.
This probably fixes bugs reported by Thomas Haegi.
src/backend/tsearch/ts_locale.c