Added strlcat check.

svn path=/trunk/boinc/; revision=2916
This commit is contained in:
Eric J. Korpela 2004-01-22 02:00:02 +00:00
parent 1789c56b61
commit 9210fcd933
5 changed files with 25 additions and 4 deletions

4
aclocal.m4 vendored
View File

@ -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

View File

@ -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 "<tag>" 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

View File

@ -171,6 +171,9 @@
/* Define to 1 if you have the <string.h> 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

3
configure vendored
View File

@ -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

View File

@ -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