From 2411307fe342ad522c8b196605bb83f365d287c4 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 13 Apr 2003 21:24:34 +0000 Subject: [PATCH] Truncate gcc 3.x version git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@440 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/autoconf/configure.in | 4 ++-- bacula/configure | 4 ++-- bacula/kernstodo | 2 +- bacula/src/bc_types.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index e786f0b215..39ab05ff4f 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1441,8 +1441,8 @@ if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then largefile_support="yes" fi -CCVERSION=`${CC} --version` -CXXVERSION=`${CXX} --version` +CCVERSION=`${CC} --version | cut -b-15` +CXXVERSION=`${CXX} --version | cut -b-15` echo " Configuration on `date`: diff --git a/bacula/configure b/bacula/configure index 94b705982d..efd748ebe5 100755 --- a/bacula/configure +++ b/bacula/configure @@ -10183,8 +10183,8 @@ if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then largefile_support="yes" fi -CCVERSION=`${CC} --version` -CXXVERSION=`${CXX} --version` +CCVERSION=`${CC} --version | cut -b-15` +CXXVERSION=`${CXX} --version | cut -b-15` echo " Configuration on `date`: diff --git a/bacula/kernstodo b/bacula/kernstodo index 9b36ee6e18..319233e8bc 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -373,7 +373,7 @@ Item 5: Implement Label templates Item 6: Write a regression script. -Started +Done -- Continue to expand its testing. What: This is an automatic script that runs and tests as many features of Bacula as possible. The output is compared to previous diff --git a/bacula/src/bc_types.h b/bacula/src/bc_types.h index aa63873720..a73546bace 100644 --- a/bacula/src/bc_types.h +++ b/bacula/src/bc_types.h @@ -181,7 +181,7 @@ typedef float float32_t; #endif #ifndef HAVE_SOCKLEN_T -#define socklen_t int +#define socklen_t unsigned int #endif #ifdef HAVE_OLD_SOCKOPT -- 2.39.5