[PATCH] [CTDB] separate macro for functions with pointer returns

Alexander Bokovoy ab at samba.org
Fri Dec 1 09:32:25 GMT 2006


Tridge,

I think we need a separate CTDB_NO_MEMORY_NULL() macro for functions
which return a pointer instead of integer:
------------------------------------------------------------
revno: 22
committer: Alexander Bokovoy <ab at samba.org>
branch nick: ctdb
timestamp: Fri 2006-12-01 12:26:21 +0300
message:
  Provide an alternative CTDB_NO_MEMORY_NULL() for functions which
return a pointer
modified:
  common/ctdb_call.c
  include/ctdb_private.h

-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb-pointer-checks.patch
Type: text/x-patch
Size: 1310 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061201/c516e0d5/ctdb-pointer-checks.bin


More information about the samba-technical mailing list