From: Eric Bollengier Date: Fri, 30 Jan 2009 10:29:26 +0000 (+0000) Subject: ebl Try to disable _FORTIFY_SOURCE by default X-Git-Tag: Release-7.0.0~3417 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=259d43e90b9e2b7cc5e2693b1de6b478c0312fb5;p=bacula%2Fbacula ebl Try to disable _FORTIFY_SOURCE by default git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8415 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/bacula.h b/bacula/src/bacula.h index 0104a6eae1..4d92290ef3 100644 --- a/bacula/src/bacula.h +++ b/bacula/src/bacula.h @@ -34,6 +34,13 @@ #ifndef _BACULA_H #define _BACULA_H 1 +/* Disable FORTIFY_SOURCE, because bacula uses is own memory + * manager + */ +#ifdef _FORTIFY_SOURCE +#undef _FORTIFY_SOURCE +#endif + #ifdef __cplusplus /* Workaround for SGI IRIX 6.5 */ #define _LANGUAGE_C_PLUS_PLUS 1 diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 799971e36d..38c503de72 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -10,6 +10,8 @@ filepattern (restore with regex in bsr) mixed priorities General: +30Jan09 +ebl Try to disable _FORTIFY_SOURCE by default 29Jan09 ebl Tweak compat.h for new mingw 28Jan09