util.c: I've added a function called mem_dup(). Similar to strdup(),
authorChristopher R. Hertel <crh@samba.org>
Wed, 15 Jul 1998 20:15:25 +0000 (20:15 +0000)
committerChristopher R. Hertel <crh@samba.org>
Wed, 15 Jul 1998 20:15:25 +0000 (20:15 +0000)
commit7ade0aa1d22367cb0d998d35573dc5e333a41f75
treeba084f557c9ba0618cf90f48b60c7158bdfca84a
parent59d07445b61e26321e3a1770c13756ac5948aabb
util.c:  I've added a function called mem_dup().  Similar to strdup(),
         mem_dup() allocates the required memory before copying the
         source data.  It returns NULL if memory could not be allcoated,
         else a pointer to the newly allocated memory.
proto.h: Rebuilt to add the prototype for mem_dup().
(This used to be commit 7f7e265ab457d046441d502d4b8447bc2c966675)
source3/include/proto.h
source3/lib/util.c