The Samba-Bugzilla – Attachment 1380 Details for
Bug 3007
tdb/tdbutil.c: "uint8_t *" incompatible with "char *"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
change buf to "char **"
tdb.patch (text/plain), 739 bytes, created by
Jason Mader (mail bounces back)
on 2005-08-15 13:36:29 UTC
(
hide
)
Description:
change buf to "char **"
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-08-15 13:36:29 UTC
Size:
739 bytes
patch
obsolete
>Index: tdb/tdbutil.c >=================================================================== >--- tdb/tdbutil.c (revision 9303) >+++ tdb/tdbutil.c (working copy) >@@ -485,7 +485,7 @@ > return result; > } > >-BOOL tdb_pack_append(TALLOC_CTX *mem_ctx, uint8_t **buf, size_t *len, >+BOOL tdb_pack_append(TALLOC_CTX *mem_ctx, char **buf, size_t *len, > const char *fmt, ...) > { > va_list ap; >@@ -496,10 +496,10 @@ > va_end(ap); > > if (mem_ctx != NULL) >- *buf = TALLOC_REALLOC_ARRAY(mem_ctx, *buf, uint8_t, >+ *buf = TALLOC_REALLOC_ARRAY(mem_ctx, *buf, char, > (*len) + len1); > else >- *buf = SMB_REALLOC_ARRAY(*buf, uint8_t, (*len) + len1); >+ *buf = SMB_REALLOC_ARRAY(*buf, char, (*len) + len1); > > if (*buf == NULL) > return False;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3007
: 1380