Fix (I think) broken usage of MultiByteToWideChar. I had missed the
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/ts_locale.c | modified | +20 −13 |