[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1665-g72b744f

Jelmer Vernooij jelmer at samba.org
Sat May 16 18:33:29 GMT 2009


The branch, master has been updated
       via  72b744f38ebb9f9576c05c7bb0a00de26697ec8f (commit)
      from  31a2347a0af9a6f36c3f02d25327146659ee343f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 72b744f38ebb9f9576c05c7bb0a00de26697ec8f
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat May 16 20:31:59 2009 +0200

    tevent: Define TALLOC_FREE() if it's not defined yet, to allow building
    with released versions of talloc.

-----------------------------------------------------------------------

Summary of changes:
 lib/tevent/tevent_util.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tevent/tevent_util.h b/lib/tevent/tevent_util.h
index c4d4378..829cbc2 100644
--- a/lib/tevent/tevent_util.h
+++ b/lib/tevent/tevent_util.h
@@ -116,3 +116,9 @@ do { \
 const char **ev_str_list_add(const char **list, const char *s);
 int ev_set_blocking(int fd, bool set);
 size_t ev_str_list_length(const char **list);
+
+/* Defined here so we can build against older talloc versions that don't
+ * have this define yet. */
+#ifndef TALLOC_FREE
+#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)
+#endif


-- 
Samba Shared Repository


More information about the samba-cvs mailing list