]> granicus.if.org Git - postgresql/commit
Add pg_strnlen() a portable implementation of strlen.
authorAndres Freund <andres@anarazel.de>
Mon, 9 Oct 2017 22:20:42 +0000 (15:20 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 9 Oct 2017 22:20:42 +0000 (15:20 -0700)
commit8a241792f968ed5be6cf4d41e32c0d264f6c0c65
tree80391a1d37c432548e50d07a58a484278c202f74
parent71c75ddfbb277362bf62dc5b1645c3903e16bc34
Add pg_strnlen() a portable implementation of strlen.

As the OS version is likely going to be more optimized, fall back to
it if available, as detected by configure.
configure
configure.in
src/common/string.c
src/include/common/string.h
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/port/snprintf.c