git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e7c0e1
)
r4328: mark the talloc data as DATA_BLOB
author
Stefan Metzmacher
<metze@samba.org>
Tue, 21 Dec 2004 15:23:33 +0000
(15:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:07:35 +0000
(13:07 -0500)
metze
(This used to be commit
ad84e3b2e3b48406576a8ba2ebfd218cddae135d
)
source4/include/talloc.h
patch
|
blob
|
history
diff --git
a/source4/include/talloc.h
b/source4/include/talloc.h
index 18c31c693532a847aa4387a00291e8cc1d568009..ffb4c9f2528030c2ce375c8fb4286fcddd7b9864 100644
(file)
--- a/
source4/include/talloc.h
+++ b/
source4/include/talloc.h
@@
-49,8
+49,8
@@
typedef void TALLOC_CTX;
#define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count)
#define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count)
#define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count)
#define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count)
-#define data_blob(ptr, size) data_blob_named(ptr, size, __location__)
-#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size, __location__)
+#define data_blob(ptr, size) data_blob_named(ptr, size,
"DATA_BLOB: "
__location__)
+#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size,
"DATA_BLOB: "
__location__)
#ifndef PRINTF_ATTRIBUTE
#define PRINTF_ATTRIBUTE(a1, a2)
#ifndef PRINTF_ATTRIBUTE
#define PRINTF_ATTRIBUTE(a1, a2)