File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 33/exports.list
44/snprintf.c
55/strerror.c
6+ /strlcpy.c
67/strnlen.c
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ SHLIB_EXPORTS = exports.txt
3232LIBS := $(filter-out -lpgport, $(LIBS ) )
3333
3434OBJS = informix.o snprintf.o strerror.o \
35- $(filter strnlen.o, $(LIBOBJS ) ) $(WIN32RES )
35+ $(filter strlcpy.o strnlen.o, $(LIBOBJS ) ) $(WIN32RES )
3636
3737PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes
3838
@@ -49,7 +49,7 @@ submake-pgtypeslib:
4949# Shared library stuff
5050include $(top_srcdir ) /src/Makefile.shlib
5151
52- snprintf.c strerror.c strnlen.c : % : $(top_srcdir ) /src/port/%
52+ snprintf.c strerror.c strlcpy.c strnlen.c : % : $(top_srcdir ) /src/port/%
5353 rm -f $@ && $(LN_S ) $< .
5454
5555install : all installdirs install-lib
@@ -59,6 +59,6 @@ installdirs: installdirs-lib
5959uninstall : uninstall-lib
6060
6161clean distclean : clean-lib
62- rm -f $(OBJS ) snprintf.c strerror.c strnlen.c
62+ rm -f $(OBJS ) snprintf.c strerror.c strlcpy.c strnlen.c
6363
6464maintainer-clean : distclean maintainer-clean-lib
Original file line number Diff line number Diff line change 55/rint.c
66/snprintf.c
77/strerror.c
8+ /strlcpy.c
89/string.c
910/strnlen.c
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ SHLIB_EXPORTS = exports.txt
3131
3232OBJS = numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \
3333 pgstrcasecmp.o snprintf.o strerror.o \
34- $(filter rint.o strnlen.o, $(LIBOBJS ) ) \
34+ $(filter rint.o strlcpy.o strnlen.o, $(LIBOBJS ) ) \
3535 string.o \
3636 $(WIN32RES )
3737
@@ -45,7 +45,7 @@ include $(top_srcdir)/src/Makefile.shlib
4545# necessarily use the same object files as the backend uses. Instead,
4646# symlink the source files in here and build our own object file.
4747
48- pgstrcasecmp.c rint.c snprintf.c strerror.c strnlen.c : % : $(top_srcdir ) /src/port/%
48+ pgstrcasecmp.c rint.c snprintf.c strerror.c strlcpy.c strnlen.c : % : $(top_srcdir ) /src/port/%
4949 rm -f $@ && $(LN_S ) $< .
5050
5151string.c : % : $(top_srcdir ) /src/common/%
@@ -58,6 +58,6 @@ installdirs: installdirs-lib
5858uninstall : uninstall-lib
5959
6060clean distclean : clean-lib
61- rm -f $(OBJS ) pgstrcasecmp.c rint.c snprintf.c strerror.c strnlen.c string.c
61+ rm -f $(OBJS ) pgstrcasecmp.c rint.c snprintf.c strerror.c strlcpy.c strnlen.c string.c
6262
6363maintainer-clean : distclean maintainer-clean-lib
You can’t perform that action at this time.
0 commit comments