From 9210fcd93312e2d2b772589feba234f55652c99b Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Thu, 22 Jan 2004 02:00:02 +0000 Subject: [PATCH] Added strlcat check. svn path=/trunk/boinc/; revision=2916 --- aclocal.m4 | 4 ++-- checkin_notes | 17 +++++++++++++++++ config.h.in | 3 +++ configure | 3 ++- configure.ac | 2 +- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 5413b12d72..8208f5e3a6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1104,8 +1104,8 @@ AC_DEFUN([SAH_HEADER_STDCXX],[ # # Revision Log: # $Log$ -# Revision 1.63 2004/01/21 07:07:05 davea -# *** empty log message *** +# Revision 1.64 2004/01/22 02:00:00 korpela +# Added strlcat check. # # Revision 1.1 2003/12/11 18:38:24 korpela # Added checked macro files into boinc diff --git a/checkin_notes b/checkin_notes index 90fbcddb1b..24840e28b8 100755 --- a/checkin_notes +++ b/checkin_notes @@ -9450,3 +9450,20 @@ David Jan 21 2004 boinc.sln boinc_cli.vcproj boinc_gui.vcproj + +Eric Jan 21 2004 + - Modified match_tag to work with tags of the form "" and "tag" + - Added strlcat() to std_fixes.h + - Added check for strlcat() configure.ac + - fixed "#elif" without clause in main.C + + configure + configure.ac + config.h.in + client/ + main.C + lib/ + parse.C + std_fixes.h + + diff --git a/config.h.in b/config.h.in index a484cc3d53..2f762e6fae 100644 --- a/config.h.in +++ b/config.h.in @@ -171,6 +171,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcat' function. */ +#undef HAVE_STRLCAT + /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY diff --git a/configure b/configure index 3019d8e65e..a31b570fb7 100755 --- a/configure +++ b/configure @@ -7241,7 +7241,8 @@ fi -for ac_func in gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4 strlcpy + +for ac_func in gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4 strlcpy strlcat do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/configure.ac b/configure.ac index 4e56fcbfb8..216ec6fd72 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_FUNC_VPRINTF AC_FUNC_WAIT3 -AC_CHECK_FUNCS(gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4 strlcpy) +AC_CHECK_FUNCS(gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4 strlcpy strlcat) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST