Move wchar.c and encnames.c to src/common/.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 20:56:32 +0000 (15:56 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 20:58:55 +0000 (15:58 -0500)
commite6afa8918c461c1dd80c5063a950518fa4e950cd
tree00a11500527f8b29966fd441de6dee8449b5bc97
parent2eb34ac369741c110b593e2dc2195c57d29ab8e8
Move wchar.c and encnames.c to src/common/.

Formerly, various frontend directories symlinked these two sources
and then built them locally.  That's an ancient, ugly hack, and
we now have a much better way: put them into libpgcommon.
So do that.  (The immediate motivation for this is the prospect
of having to introduce still more symlinking if we don't.)

This commit moves these two files absolutely verbatim, for ease of
reviewing the git history.  There's some follow-on work to be done
that will modify them a bit.

Robert Haas, Tom Lane

Discussion: https://postgr.es/m/CA+TgmoYO8oq-iy8E02rD8eX25T-9SmyxKWqqks5OMHxKvGXpXQ@mail.gmail.com
12 files changed:
src/backend/utils/mb/Makefile
src/backend/utils/mb/README
src/bin/initdb/.gitignore
src/bin/initdb/Makefile
src/common/Makefile
src/common/encnames.c [moved from src/backend/utils/mb/encnames.c with 100% similarity]
src/common/saslprep.c
src/common/wchar.c [moved from src/backend/utils/mb/wchar.c with 100% similarity]
src/include/mb/pg_wchar.h
src/interfaces/libpq/.gitignore
src/interfaces/libpq/Makefile
src/tools/msvc/Mkvcbuild.pm