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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e9d9ba2) | patch
Replace unicode characters in comments with ascii
Mon, 1 Nov 2021 21:42:49 +0000 (22:42 +0100)
Mon, 1 Nov 2021 21:42:49 +0000 (22:42 +0100)
commit 43a134f28b350c4b731db9dddf2f53c407a7077f
Replace unicode characters in comments with ascii

The unicode characters, while in comments and not code, caused MSVC
to emit compiler warning C4819:

The file contains a character that cannot be represented in the
current code page (number). Save the file in Unicode format to
prevent data loss.

Fix by replacing the characters in print.c with descriptive comments
containing the codepoints and symbol names, and remove the character
in brin_bloom.c which was a footnote reference copied from the paper
citation.

Per report from hamerkop in the buildfarm.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/340E4118-0D0C-4E85-8141-8C40EB22DA3A@yesql.se
src/backend/access/brin/brin_bloom.c diff | blob | blame | history
src/fe_utils/print.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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