git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e2bd904) | patch
Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.
2013年7月19日 01:55:38 +0000 (21:55 -0400)
2013年7月19日 01:55:38 +0000 (21:55 -0400)
commit d9f37e6661ec654f7252bfc23e084c9e2ca5db14
Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.

This is mainly to suppress "uninitialized variable" warnings from very
recent versions of gcc. But it seems like a good robustness thing anyway,
not to mention that we might someday decide to support 6-byte UTF8.

Per report from Karol Trzcionka. No back-patch since there's no reason
at the moment to think this is more than cosmetic.
src/backend/utils/mb/conv.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /