From: <gi...@ba...> - 2011-12-03 17:06:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community source". The branch, Branch-5.2 has been updated via 33753908466d19e3bd58e6edabe39ebf7dd5bcd3 (commit) from 4ae6bd27c5b380bb9e2b8f9708aeeba054f88fe6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 33753908466d19e3bd58e6edabe39ebf7dd5bcd3 Author: Eric Bollengier <er...@eb...> Date: Sat Dec 3 18:04:54 2011 +0100 Fix compilation warning on FreeBSD ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/lib/tree.c b/bacula/src/lib/tree.c index fda5b0a..4d6cac1 100644 --- a/bacula/src/lib/tree.c +++ b/bacula/src/lib/tree.c @@ -36,9 +36,9 @@ #include "bacula.h" #include "findlib/find.h" -#define PAGE_SIZE 4096 +#define B_PAGE_SIZE 4096 #define MAX_PAGES 2400 -#define MAX_BUF_SIZE (MAX_PAGES * PAGE_SIZE) /* approx 10MB */ +#define MAX_BUF_SIZE (MAX_PAGES * B_PAGE_SIZE) /* approx 10MB */ /* Forward referenced subroutines */ static TREE_NODE *search_and_insert_tree_node(char *fname, int type, hooks/post-receive -- Bacula Community source |