From: Eric B. <ri...@us...> - 2009-08-31 13:04:39
|
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". The branch, master has been updated via 5dab02ef2981ef6d8e11b70368ef055edec5b1f6 (commit) from 4c469d6d2884c339d0bed04aed535a10d28ef587 (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 5dab02ef2981ef6d8e11b70368ef055edec5b1f6 Author: Eric Bollengier <er...@eb...> Date: Mon Aug 31 15:04:15 2009 +0200 Prohibit copy and assignment in db_list_ctx ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index 4613b67..6b29b35 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -1044,7 +1044,9 @@ struct db_int64_ctx { int count; /* number of values seen */ }; -/* Call back context for getting a list of comma separated strings from the database */ +/* Call back context for getting a list of comma separated strings from the + * database + */ class db_list_ctx { public: POOLMEM *list; /* list */ @@ -1052,6 +1054,10 @@ public: db_list_ctx() { list = get_pool_memory(PM_FNAME); *list = 0; count = 0; } ~db_list_ctx() { free_pool_memory(list); list = NULL; } + +private: + db_list_ctx(const db_list_ctx&); /* prohibit pass by value */ + db_list_ctx &operator=(const db_list_ctx&); /* prohibit class assignment */ }; diff --git a/bacula/technotes b/bacula/technotes index 96ef4d6..c196cff 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,7 @@ General: 31Aug09 +ebl Prohibit copy and assignment in db_list_ctx. mvw Exclude OSX resource forks from saving using the xattr code Exclude OSX acl data from saving using the xattr code when normal acl mode is also enabled. hooks/post-receive -- bacula |