diff options
| author | Sam Varshavchik | 2022-05-22 23:52:28 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2022-05-22 23:52:31 -0400 | 
| commit | 83e37efc8ed785cd095eb585ff747e5702ec49b3 (patch) | |
| tree | 15aed6da6214e9a03d91be1754cd351175349945 /rfc2045 | |
| parent | 1ce81fa6af52651628a0bffcd8b15fdb459901a5 (diff) | |
| download | courier-libs-83e37efc8ed785cd095eb585ff747e5702ec49b3.tar.bz2 | |
gcc 12, autotool updates, sqwebmail fixes.
Diffstat (limited to 'rfc2045')
| -rw-r--r-- | rfc2045/configure.ac | 19 | ||||
| -rw-r--r-- | rfc2045/rfc2045decode.c | 1 | 
2 files changed, 10 insertions, 10 deletions
| diff --git a/rfc2045/configure.ac b/rfc2045/configure.ac index 74a06f2..1f7b1cd 100644 --- a/rfc2045/configure.ac +++ b/rfc2045/configure.ac @@ -1,7 +1,7 @@  dnl  dnl Copyright 1998 - 2011 Double Precision, Inc.  See COPYING for  dnl distribution information. -AC_INIT(rfc2045lib, 0.20, [courier-maildrop@lists.sourceforge.net]) +AC_INIT([rfc2045lib],[0.20],[courier-maildrop@lists.sourceforge.net])  >confdefs.h  # Kill PACKAGE_ macros @@ -13,10 +13,8 @@ AC_CONFIG_HEADERS(rfc2045_config.h)  dnl Checks for programs.  AC_USE_SYSTEM_EXTENSIONS  AC_PROG_CC -AC_PROG_CC_C99  AC_PROG_CXX -AC_LIBTOOL_DLOPEN -AM_PROG_LIBTOOL +LT_INIT  if test "$GCC" = yes ; then          CXXFLAGS="$CXXFLAGS -Wall" @@ -26,20 +24,20 @@ fi  dnl Checks for libraries.  dnl Checks for header files. -AC_HEADER_STDC +  AC_CHECK_HEADERS(unistd.h sys/wait.h strings.h locale.h)  AC_CACHE_CHECK([for missing gethostname prototype],rfc2045_cv_SYS_GETHOSTNAME, -AC_TRY_COMPILE([ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[  #if HAVE_UNISTD_H  #include	<unistd.h>  #endif  extern int gethostname(int,int); -],[ -],rfc2045_cv_SYS_GETHOSTNAME=yes,rfc2045_cv_SYS_GETHOSTNAME=no -) +]], [[ +]])],[rfc2045_cv_SYS_GETHOSTNAME=yes],[rfc2045_cv_SYS_GETHOSTNAME=no +])  ) @@ -91,4 +89,5 @@ AM_CONDITIONAL(HAVE_SGML, test -d ${srcdir}/../docbook)  . ../rfc822/rfc822.config  AM_CONDITIONAL(HAVE_LIBIDN, test "$libidn" = "yes") -AC_OUTPUT(Makefile rfc2045charset.h) +AC_CONFIG_FILES([Makefile rfc2045charset.h]) +AC_OUTPUT diff --git a/rfc2045/rfc2045decode.c b/rfc2045/rfc2045decode.c index 1fa2d79..c5e0667 100644 --- a/rfc2045/rfc2045decode.c +++ b/rfc2045/rfc2045decode.c @@ -27,6 +27,7 @@ struct rfc2045id nextid;  			decode(topid, &nextid.next, r, func, ptr);  		++nextid.idnum;  	} +	*childidptr=0; /* Fix spurious gcc warning */  }  void rfc2045_decode(struct rfc2045 *p, | 
