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 */
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 */
};
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.