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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: fa5e119) | patch
Rewrite strnlen replacement implementation from 8a241792f96.
2017年10月10日 21:42:16 +0000 (14:42 -0700)
2017年10月10日 21:50:30 +0000 (14:50 -0700)
commit fffd651e83ccbd6191a76be6ec7c6b1b27888fde
Rewrite strnlen replacement implementation from 8a241792f96.

The previous placement of the fallback implementation in libpgcommon
was problematic, because libpqport functions need strnlen
functionality.

Move replacement into libpgport. Provide strnlen() under its posix
name, instead of pg_strnlen(). Fix stupid configure bug, executing the
test only when compiled with threading support.

Author: Andres Freund
Discussion: https://postgr.es/m/E1e1gR2-0005fB-SI@gemulon.postgresql.org
configure diff | blob | blame | history
configure.in diff | blob | blame | history
src/backend/utils/mmgr/mcxt.c diff | blob | blame | history
src/common/string.c diff | blob | blame | history
src/include/common/string.h diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
src/include/pg_config.h.win32 diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/port/snprintf.c diff | blob | blame | history
src/port/strnlen.c [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

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