Re: talloc_init_named

2002-12-23 Thread jra
On Mon, Dec 23, 2002 at 08:52:44AM +0100, Stefan (metze) Metzmacher wrote:
 At 15:58 22.12.2002 +, you wrote:
 On Sun, Dec 22, 2002 at 10:45:02AM +0100, Stefan (metze) Metzmacher wrote:
   Hi Jeremy,
  
   please run
  
   'grep talloc_init_named source/*/*.c' and
   'grep talloc_init() source/*/*.c'
 
 please really run it...

Done. Jeremy.



Re: talloc_init_named

2002-12-22 Thread jra
On Sun, Dec 22, 2002 at 10:45:02AM +0100, Stefan (metze) Metzmacher wrote:
 Hi Jeremy,
 
 please run
 
 'grep talloc_init_named source/*/*.c' and
 'grep talloc_init() source/*/*.c'
 
 in HEAD and 3_0
 
 and rename the function calls and add strings as parameter,
 please also update the DEBUG messages :-)

Hmmm. I thought I'd already done all that. It definately 
works here...

Jeremy.



Re: talloc_init_named

2002-12-22 Thread jra
On Sun, Dec 22, 2002 at 10:45:02AM +0100, Stefan (metze) Metzmacher wrote:
 Hi Jeremy,
 
 please run
 
 'grep talloc_init_named source/*/*.c' and
 'grep talloc_init() source/*/*.c'
 
 in HEAD and 3_0
 
 and rename the function calls and add strings as parameter,
 please also update the DEBUG messages :-)

Ah - ok. Missed some not commonly compiled in.

Jeremy.



Re: talloc_init_named

2002-12-22 Thread Stefan (metze) Metzmacher
At 15:58 22.12.2002 +, you wrote:

On Sun, Dec 22, 2002 at 10:45:02AM +0100, Stefan (metze) Metzmacher wrote:
 Hi Jeremy,

 please run

 'grep talloc_init_named source/*/*.c' and
 'grep talloc_init() source/*/*.c'


please really run it...



 in HEAD and 3_0

 and rename the function calls and add strings as parameter,
 please also update the DEBUG messages :-)

Ah - ok. Missed some not commonly compiled in.

Jeremy.


this are the output in HEAD now (I removed the DEBUG messages...):
source/modules/mysql.c: query.mem_ctx = talloc_init();
source/python/py_lsa.c: if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_smb.c: mem_ctx = talloc_init();
source/python/py_smb.c: TALLOC_CTX *mem_ctx = talloc_init();
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_ports.c:   if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/rpcclient/samsync.c: if (!(mem_ctx = talloc_init())) {
source/sam/gums_api.c:  TALLOC_CTX *mem_ctx = talloc_init();
source/torture/samtest.c:   if (!(mem_ctx = 
talloc_init())) {
source/utils/rpccheck.c:ctx=talloc_init();

and 3_0:
source/passdb/pdb_mysql.c:  query.mem_ctx = talloc_init();
source/python/py_lsa.c: if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_samr.c:if (!(mem_ctx = talloc_init())) {
source/python/py_smb.c: mem_ctx = talloc_init();
source/python/py_smb.c: TALLOC_CTX *mem_ctx = talloc_init();
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_drivers.c: if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_ports.c:   if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/python/py_spoolss_printers.c:if (!(mem_ctx = talloc_init())) {
source/rpcclient/samsync.c: if (!(mem_ctx = talloc_init())) {
source/utils/rpccheck.c:ctx=talloc_init();


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]