From owner-cvs-all@FreeBSD.ORG Sun Jan 30 21:44:26 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E1B416A4CE; Sun, 30 Jan 2005 21:44:26 +0000 (GMT) Received: from shrike.submonkey.net (cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com [81.103.67.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE3843D1F; Sun, 30 Jan 2005 21:44:24 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.43 (FreeBSD)) id 1CvMrn-000694-4t; Sun, 30 Jan 2005 21:44:23 +0000 Date: Sun, 30 Jan 2005 21:44:23 +0000 From: Ceri Davies To: Sergey Matveychuk Message-ID: <20050130214422.GA30038@submonkey.net> Mail-Followup-To: Ceri Davies , Sergey Matveychuk , ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org References: <200501301527.j0UFRapU028967@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <200501301527.j0UFRapU028967@repoman.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.6i Sender: Ceri Davies cc: cvs-ports@FreeBSD.org cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/mail/exim Makefile distinfo ports/mail/exim/files patch-securityfix X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 21:44:26 -0000 --RASg3xLB4tUQ4RcS Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 30, 2005 at 03:27:36PM +0000, Sergey Matveychuk wrote: > sem 2005-01-30 15:27:36 UTC >=20 > FreeBSD ports repository >=20 > Modified files: > mail/exim Makefile distinfo=20 > Removed files: > mail/exim/files patch-securityfix=20 > Log: > - Update to 4.44 > Mostly bugfix release This fails to build on a a recent RELENG_4 and RELENG_5 - the cnumber declaration in version.c is syntactically incorrect. Typescript and version.c attached. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=typescript Content-Transfer-Encoding: quoted-printable Script started on Sun Jan 30 21:36:51 2005 setantae has logged on ttyp1 from falken:s.0=0D setantae has logged on ttyp2 from falken:s.1=0D setantae has logged on ttyp3 from falken:s.2=0D setantae has logged on ttyp4 from falken:s.3=0D setantae has logged on ttyp5 from falken:s.4=0D setantae has logged on ttyp6 from falken:s.5=0D setantae has logged on ttyp7 from falken:s.6=0D setantae has logged on ttyp8 from falken:s.7=0D {=1B[1m=1B[4mroot=1B[m=1B[24m@shrike}-{ports/mail/exim} # pwd=0D=0D /usr/ports/mail/exim=0D {=1B[1m=1B[4mroot=1B[m=1B[24m@shrike}-{ports/mail/exim} # make build=0D=0D =3D=3D=3D> Extracting for exim-4.44+28=0D =3D> Checksum OK for exim/exim-4.44.tar.bz2.=0D =3D> Checksum OK for exim/exiscan-acl-4.44-28.patch.bz2.=0D =3D=3D=3D> Patching for exim-4.44+28=0D =3D=3D=3D> Applying distribution patches for exim-4.44+28=0D =3D=3D=3D> Applying extra patch /usr/ports/mail/exim/files/xpatch-exiscan2= =0D =3D=3D=3D> Applying FreeBSD patches for exim-4.44+28=0D =3D=3D=3D> exim-4.44+28 depends on shared library: ldap-2.2.7 - found=0D =3D=3D=3D> exim-4.44+28 depends on shared library: iconv.3 - found=0D =3D=3D=3D> Configuring for exim-4.44+28=0D =0D >>> Creating links to source files...=0D >>> New Makefile installed=0D >>> Use "make makefile" if you need to force rebuilding of the makefile=0D =0D =3D=3D=3D> Building for exim-4.44+28=0D `Makefile' is up to date.=0D =0D /bin/sh ../scripts/Configure-os.h=0D /bin/sh ../scripts/Configure-os.c=0D cc -O -pipe -I/usr/local/include -o buildconfig buildconfig.c -lcrypt=0D /bin/sh ../scripts/Configure-config.h=0D `buildconfig' is up to date.=0D Building configuration file config.h=0D >>> config.h built=0D =0D cc -c -O -pipe maketables.c=0D cc -c -O -pipe get.c=0D cc -o dftables -O -pipe dftables.c=0D =2E/dftables chartables.c=0D cc -c -O -pipe pcre.c=0D cc -c -O -pipe study.c=0D rm -f libpcre.a=0D ar cq libpcre.a maketables.o get.o pcre.o study.o=0D ranlib libpcre.a=0D cc -c -DNOPOSIX -O -pipe -I. pcretest.c=0D cc -O -pipe -o ../pcretest pcretest.o libpcre.a=0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?CONFIGURE_FILE_USE_NODE??" -e "s?CONFIGURE_FILE_USE_EUID= ??" -e "s?CONFIGURE_FILE?/usr/local/etc/exim/configure?" -e "s?BIN_DIRECT= ORY?/usr/local/sbin?" -e "s?EXICYCLOG_MAX?10?" -e "s?COMPRESS_COMMAND?/us= r/bin/gzip?" -e "s?COMPRESS_SUFFIX?gz?" -e "s?CHOWN_COMMAND?/usr/sbin/cho= wn?" -e "s?CHGRP_COMMAND?/usr/bin/chgrp?" -e "s?MV_COMMAND?/bin/mv?" -e = "s?RM_COMMAND?/bin/rm?" ../src/exicyclog.src > exicyclog-t=0D >>> exicyclog script built=0D =0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?CONFIGURE_FILE_USE_NODE??" -e "s?CONFIGURE_FILE?/usr/loc= al/etc/exim/configure?" -e "s?BIN_DIRECTORY?/usr/local/sbin?" ../src/exin= ext.src > exinext-t=0D >>> exinext script built=0D =0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?CONFIGURE_FILE_USE_NODE??" -e "s?CONFIGURE_FILE?/usr/loc= al/etc/exim/configure?" -e "s?BIN_DIRECTORY?/usr/local/sbin?" -e "s?EXIWH= AT_PS_CMD?/bin/ps?" -e "s?EXIWHAT_PS_ARG?-ax?" -e "s?EXIWHAT_KILL_SIGNAL?= -USR1?" -e "s?EXIWHAT_EGREP_ARG?'/exim( |$)'?" -e "s?EXIWHAT_MULTIKILL_CM= D?'killall -m'?" -e "s?EXIWHAT_MULTIKILL_ARG?'^exim($|-[0-9.]+-[0-9]+$)'?"= ../src/exiwhat.src > exiwhat-t=0D >>> exiwhat script built=0D =0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?PERL_COMMAND?/usr/bin/perl?" -e "s?ZCAT_COMMAND?/usr/bin= /zcat?" -e "s?COMPRESS_SUFFIX?gz?" ../src/exigrep.src > exigrep-t=0D >>> exigrep script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" ../src/eximstats.src > eximstats-t= =0D >>> eximstats script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" -e "s?SPOOL_DIRECTORY?/var/spool/ex= im?" ../src/exipick.src > exipick-t=0D >>> exipick script built=0D =0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?BIN_DIRECTORY?/usr/local/sbin?" -e "s?PERL_COMMAND?/usr/= bin/perl?" ../src/exiqgrep.src > exiqgrep-t=0D >>> exiqgrep script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" ../src/exiqsumm.src > exiqsumm-t=0D >>> exiqsumm script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" ../src/transport-filter.src > trans= port-filter.pl-t=0D >>> transport-filter.pl script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" ../src/convert4r3.src > convert4r3-= t=0D >>> convert4r3 script built=0D =0D sed -e "s?PERL_COMMAND?/usr/bin/perl?" ../src/convert4r4.src > convert4r4-= t=0D >>> convert4r4 script built=0D =0D sed -e "s?PROCESSED_FLAG?This file has been so processed.?" -e "/^# /p" -= e "/^# /d" -e "s?CONFIGURE_FILE_USE_NODE??" -e "s?CONFIGURE_FILE?/usr/loc= al/etc/exim/configure?" -e "s?BIN_DIRECTORY?/usr/local/sbin?" -e "s?PERL_= COMMAND?/usr/bin/perl?" ../src/exim_checkaccess.src > exim_checkaccess-t=0D >>> exim_checkaccess script built=0D =0D cc -c -O -pipe -I/usr/local/include -o exim_dbmbuild.o exim_dbmbuild.c=0D cc -o exim_dbmbuild exim_dbmbuild.o -lcrypt -lpam -L/usr/local/lib -licon= v =0D /usr/bin/strip exim_dbmbuild=0D =0D >>> exim_dbmbuild utility built=0D =0D cc -c -O -pipe -I/usr/local/include -DCOMPILE_UTILITY -DEXIM_DUMPDB -o e= xim_dumpdb.o exim_dbutil.c=0D cc -c -O -pipe -I/usr/local/include -DCOMPILE_UTILITY -DOS_LOAD_AVERAGE = -DFIND_RUNNING_INTERFACES -o util-os.o os.c=0D cc -c -O -pipe -I/usr/local/include -DCOMPILE_UTILITY -o util-store.o store= =2Ec=0D cc -O -pipe -I/usr/local/include -o exim_dumpdb exim_dumpdb.o util-os.o ut= il-store.o -lcrypt -lpam -L/usr/local/lib -liconv =0D /usr/bin/strip exim_dumpdb=0D =0D >>> exim_dumpdb utility built=0D =0D cc -c -O -pipe -I/usr/local/include -DCOMPILE_UTILITY -DEXIM_FIXDB -o ex= im_fixdb.o exim_dbutil.c=0D cc -O -pipe -I/usr/local/include -o exim_fixdb exim_fixdb.o util-os.o util= -store.o -lcrypt -lpam -L/usr/local/lib -liconv =0D /usr/bin/strip exim_fixdb=0D =0D >>> exim_fixdb utility built=0D =0D cc -c -O -pipe -I/usr/local/include -DCOMPILE_UTILITY -DEXIM_TIDYDB -o e= xim_tidydb.o exim_dbutil.c=0D cc -O -pipe -I/usr/local/include -o exim_tidydb exim_tidydb.o util-os.o ut= il-store.o -lcrypt -lpam -L/usr/local/lib -liconv =0D /usr/bin/strip exim_tidydb=0D =0D >>> exim_tidydb utility built=0D =0D cc -c -O -pipe -I/usr/local/include exim_lock.c=0D cc -o exim_lock exim_lock.o -lcrypt -lpam -L/usr/local/lib -liconv=0D /usr/bin/strip exim_lock=0D =0D >>> exim_lock utility built=0D =0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include cdb.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include dbmdb.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include dnsdb.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include dsearch.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include ibase.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include ldap.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include lsearch.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include mysql.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include nis.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include nisplus.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include oracle.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include passwd.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include pgsql.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include testdb.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include whoson.c=0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include lf_check_file.c= =0D cc -c -O -pipe -I/usr/local/include -I/usr/local/include lf_quote.c=0D /bin/rm -f lookups.a=0D ar cq lookups.a cdb.o dbmdb.o dnsdb.o dsearch.o ibase.o ldap.o lsearch.o my= sql.o nis.o nisplus.o oracle.o passwd.o pgsql.o testdb.o whoson.o lf_check= _file.o lf_quote.o=0D ranlib lookups.a=0D /bin/rm -rf ../drtables.o=0D =0D cc -c -O -pipe -I/usr/local/include accept.c=0D cc -c -O -pipe -I/usr/local/include dnslookup.c=0D cc -c -O -pipe -I/usr/local/include ipliteral.c=0D cc -c -O -pipe -I/usr/local/include iplookup.c=0D cc -c -O -pipe -I/usr/local/include manualroute.c=0D cc -c -O -pipe -I/usr/local/include queryprogram.c=0D cc -c -O -pipe -I/usr/local/include redirect.c=0D cc -c -O -pipe -I/usr/local/include rf_change_domain.c=0D cc -c -O -pipe -I/usr/local/include rf_expand_data.c=0D cc -c -O -pipe -I/usr/local/include rf_get_errors_address.c=0D cc -c -O -pipe -I/usr/local/include rf_get_munge_headers.c=0D cc -c -O -pipe -I/usr/local/include rf_get_transport.c=0D cc -c -O -pipe -I/usr/local/include rf_get_ugid.c=0D cc -c -O -pipe -I/usr/local/include rf_lookup_hostlist.c=0D cc -c -O -pipe -I/usr/local/include rf_queue_add.c=0D cc -c -O -pipe -I/usr/local/include rf_self_action.c=0D cc -c -O -pipe -I/usr/local/include rf_set_ugid.c=0D /bin/rm -f routers.a=0D ar cq routers.a accept.o dnslookup.o ipliteral.o iplookup.o manualroute.o = queryprogram.o redirect.o rf_change_domain.o rf_expand_data.o rf_get_error= s_address.o rf_get_munge_headers.o rf_get_transport.o rf_get_ugid.o rf_lo= okup_hostlist.o rf_queue_add.o rf_self_action.o rf_set_ugid.o=0D ranlib routers.a=0D /bin/rm -rf ../drtables.o=0D =0D cc -c -O -pipe -I/usr/local/include appendfile.c=0D cc -c -O -pipe -I/usr/local/include autoreply.c=0D cc -c -O -pipe -I/usr/local/include lmtp.c=0D cc -c -O -pipe -I/usr/local/include pipe.c=0D cc -c -O -pipe -I/usr/local/include smtp.c=0D cc -c -O -pipe -I/usr/local/include tf_maildir.c=0D /bin/rm -f transports.a=0D ar cq transports.a appendfile.o autoreply.o lmtp.o pipe.o smtp.o tf_maildir= =2Eo=0D ranlib transports.a=0D /bin/rm -rf ../drtables.o=0D =0D cc -c -O -pipe -I/usr/local/include b64encode.c=0D cc -c -O -pipe -I/usr/local/include b64decode.c=0D cc -c -O -pipe -I/usr/local/include call_pam.c=0D cc -c -O -pipe -I/usr/local/include call_pwcheck.c=0D cc -c -O -pipe -I/usr/local/include call_radius.c=0D cc -c -O -pipe -I/usr/local/include xtextencode.c=0D cc -c -O -pipe -I/usr/local/include xtextdecode.c=0D cc -c -O -pipe -I/usr/local/include get_data.c=0D cc -c -O -pipe -I/usr/local/include get_no64_data.c=0D cc -c -O -pipe -I/usr/local/include md5.c=0D cc -c -O -pipe -I/usr/local/include cram_md5.c=0D cc -c -O -pipe -I/usr/local/include cyrus_sasl.c=0D cc -c -O -pipe -I/usr/local/include plaintext.c=0D cc -c -O -pipe -I/usr/local/include pwcheck.c=0D cc -c -O -pipe -I/usr/local/include sha1.c=0D cc -c -O -pipe -I/usr/local/include auth-spa.c=0D cc -c -O -pipe -I/usr/local/include spa.c=0D /bin/rm -f auths.a=0D ar cq auths.a b64encode.o b64decode.o call_pam.o call_pwcheck.o call_radius= =2Eo xtextencode.o xtextdecode.o get_data.o get_no64_data.o md5.o cram_md= 5.o cyrus_sasl.o plaintext.o pwcheck.o sha1.o auth-spa.o spa.o=0D ranlib auths.a=0D /bin/rm -rf ../drtables.o=0D =0D cc -c -O -pipe -I. -I/usr/local/include acl.c=0D cc -c -O -pipe -I. -I/usr/local/include bmi_spam.c=0D cc -c -O -pipe -I. -I/usr/local/include child.c=0D cc -c -O -pipe -I. -I/usr/local/include crypt16.c=0D cc -c -O -pipe -I. -I/usr/local/include daemon.c=0D cc -c -O -pipe -I. -I/usr/local/include dbfn.c=0D cc -c -O -pipe -I. -I/usr/local/include debug.c=0D cc -c -O -pipe -I. -I/usr/local/include deliver.c=0D cc -c -O -pipe -I. -I/usr/local/include demime.c=0D cc -c -O -pipe -I. -I/usr/local/include directory.c=0D cc -c -O -pipe -I. -I/usr/local/include dns.c=0D cc -c -O -pipe -I. -I/usr/local/include drtables.c=0D cc -c -O -pipe -I. -I/usr/local/include enq.c=0D cc -c -O -pipe -I. -I/usr/local/include exim.c=0D cc -c -O -pipe -I. -I/usr/local/include expand.c=0D cc -c -O -pipe -I. -I/usr/local/include filter.c=0D cc -c -O -pipe -I. -I/usr/local/include filtertest.c=0D cc -c -O -pipe -I. -I/usr/local/include globals.c=0D cc -c -O -pipe -I. -I/usr/local/include header.c=0D cc -c -O -pipe -I. -I/usr/local/include host.c=0D cc -c -O -pipe -I. -I/usr/local/include ip.c=0D cc -c -O -pipe -I. -I/usr/local/include log.c=0D cc -c -O -pipe -I. -I/usr/local/include lss.c=0D cc -c -O -pipe -I. -I/usr/local/include malware.c=0D cc -c -O -pipe -I. -I/usr/local/include match.c=0D cc -c -O -pipe -I. -I/usr/local/include mime.c=0D cc -c -O -pipe -I. -I/usr/local/include moan.c=0D cc -c -O -pipe -I. -I/usr/local/include os.c=0D cc -c -O -pipe -I. -I/usr/local/include parse.c=0D cc -c -O -pipe -I. -I/usr/local/include queue.c=0D cc -c -O -pipe -I. -I/usr/local/include rda.c=0D cc -c -O -pipe -I. -I/usr/local/include readconf.c=0D cc -c -O -pipe -I. -I/usr/local/include receive.c=0D cc -c -O -pipe -I. -I/usr/local/include regex.c=0D cc -c -O -pipe -I. -I/usr/local/include retry.c=0D cc -c -O -pipe -I. -I/usr/local/include rewrite.c=0D cc -c -O -pipe -I. -I/usr/local/include rfc2047.c=0D cc -c -O -pipe -I. -I/usr/local/include route.c=0D cc -c -O -pipe -I. -I/usr/local/include search.c=0D cc -c -O -pipe -I. -I/usr/local/include sieve.c=0D cc -c -O -pipe -I. -I/usr/local/include smtp_in.c=0D cc -c -O -pipe -I. -I/usr/local/include smtp_out.c=0D cc -c -O -pipe -I. -I/usr/local/include spam.c=0D cc -c -O -pipe -I. -I/usr/local/include spf.c=0D cc -c -O -pipe -I. -I/usr/local/include spool_in.c=0D cc -c -O -pipe -I. -I/usr/local/include spool_mbox.c=0D cc -c -O -pipe -I. -I/usr/local/include spool_out.c=0D cc -c -O -pipe -I. -I/usr/local/include srs.c=0D cc -c -O -pipe -I. -I/usr/local/include store.c=0D cc -c -O -pipe -I. -I/usr/local/include string.c=0D cc -c -O -pipe -I. -I/usr/local/include tls.c=0D cc -c -O -pipe -I. -I/usr/local/include tnef.c=0D cc -c -O -pipe -I. -I/usr/local/include tod.c=0D cc -c -O -pipe -I. -I/usr/local/include transport.c=0D cc -c -O -pipe -I. -I/usr/local/include tree.c=0D cc -c -O -pipe -I. -I/usr/local/include verify.c=0D cc -c -O -pipe -I. -I/usr/local/include -o local_scan.o ../src/local_scan.c= =0D cc -I/usr/libdata/perl/5.00503/mach/CORE -I/usr/local/include -c perl.c=0D =0D awk '{ print ($1+1) }' cnumber.h > cnumber.temp=0D rm -f cnumber.h; mv cnumber.temp cnumber.h=0D cc -c -O -pipe -I/usr/local/include version.c=0D version.c: In function `version_init':=0D version.c:33: syntax error before `;'=0D *** Error code 1=0D =0D Stop in /var/tmp/port-builds/usr/ports/mail/exim/work/exim-4.44/build-FreeB= SD-i386.=0D *** Error code 1=0D =0D Stop in /var/tmp/port-builds/usr/ports/mail/exim/work/exim-4.44.=0D *** Error code 1=0D =0D Stop in /usr/ports/mail/exim.=0D {=1B[1m=1B[4mroot=1B[m=1B[24m@shrike}-{ports/mail/exim} # sed -n 30,35p < /= var/tmp/port-builds/usr/ports/mail/exim/work/exim-4.44/build-FreeBSD-i386/v= ersion.c=0D =0D int cnumber =3D=0D =0D ;=0D =0D /* The odd magic after each of these is so they can be easily found=0D {=1B[1m=1B[4mroot=1B[m=1B[24m@shrike}-{ports/mail/exim} # ^D=08=08exit=0D Script done on Sun Jan 30 21:39:41 2005 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="version.c" /************************************************* * Exim - an Internet mail transport agent * *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2004 */ /* See the file NOTICE for conditions of use and distribution. */ /* Function for setting up the version string. */ #include "exim.h" #define THIS_VERSION "4.44" #define EXISCAN_VERSION "28" /* The header file cnumber.h contains a single line containing the compilation number, making it easy to have it updated automatically. Hence the fudgery below to get the number turned into a string, since we can't use #include inside a macro argument list */ void version_init(void) { static uschar cnumber_buffer[24]; static uschar date_buffer[32]; uschar today[20]; uschar *version_cnumber_format; int cnumber = ; /* The odd magic after each of these is so they can be easily found for automatic patching to standard values when running regression tests. The reason that version_cnumber_format isn't just written inline in the sprintf() call is the gcc -Wall warns about a \0 in a format string. */ version_cnumber = cnumber_buffer; version_cnumber_format = US"%d\0<>"; sprintf(CS version_cnumber, CS version_cnumber_format, cnumber); version_string = US THIS_VERSION "\0<>"; exiscan_version_string = US EXISCAN_VERSION; Ustrcpy(today, __DATE__); if (today[4] == ' ') today[4] = '0'; today[3] = today[6] = '-'; version_date = date_buffer; version_date[0] = 0; Ustrncat(version_date, today+4, 3); Ustrncat(version_date, today, 4); Ustrncat(version_date, today+7, 4); Ustrcat(version_date, " "); Ustrcat(version_date, __TIME__); } /* End of version.c */ --bg08WKrSYDhXBjb5-- --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB/VU2ocfcwTS3JF8RAt8XAJ43fjpRlnRIVJKEeYWxKekGT7RRSQCglaKN djCBdyp4NDn8cj0rLYvPD2A= =uurF -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--