r272 - in devmapper/trunk/lib: . mm
Bastian Blank
waldi at costa.debian.org
Sun Feb 12 10:43:49 UTC 2006
Author: waldi
Date: Sun Feb 12 10:43:49 2006
New Revision: 272
Added:
devmapper/trunk/lib/mm/abi.c
Modified:
devmapper/trunk/lib/.exported_symbols
devmapper/trunk/lib/Makefile.in
devmapper/trunk/lib/mm/dbg_malloc.c
Log:
lib/.exported_symbols, lib/Makefile.in, lib/mm/dbg_malloc.c
lib/mm/abi.c: Fix ABI.
Modified: devmapper/trunk/lib/.exported_symbols
==============================================================================
--- devmapper/trunk/lib/.exported_symbols (original)
+++ devmapper/trunk/lib/.exported_symbols Sun Feb 12 10:43:49 2006
@@ -70,6 +70,7 @@
dm_mknodes
dm_malloc_aux
dm_malloc_aux_debug
+dm_strdup
dm_strdup_aux
dm_free_aux
dm_realloc_aux
Modified: devmapper/trunk/lib/Makefile.in
==============================================================================
--- devmapper/trunk/lib/Makefile.in (original)
+++ devmapper/trunk/lib/Makefile.in Sun Feb 12 10:43:49 2006
@@ -23,6 +23,7 @@
libdm-common.c \
libdm-file.c \
libdm-deptree.c \
+ mm/abi.c \
mm/dbg_malloc.c \
mm/pool.c \
$(interface)/libdm-iface.c
Added: devmapper/trunk/lib/mm/abi.c
==============================================================================
--- (empty file)
+++ devmapper/trunk/lib/mm/abi.c Sun Feb 12 10:43:49 2006
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2006 Bastian Blank
+ *
+ * This file is part of the device-mapper userspace tools.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdarg.h>
+
+char *dm_strdup_real(const char *str);
+
+char *dm_strdup(const char *str)
+{
+ return dm_strdup_real(str);
+}
+
Modified: devmapper/trunk/lib/mm/dbg_malloc.c
==============================================================================
--- devmapper/trunk/lib/mm/dbg_malloc.c (original)
+++ devmapper/trunk/lib/mm/dbg_malloc.c Sun Feb 12 10:43:49 2006
@@ -18,6 +18,12 @@
#include <assert.h>
#include <stdarg.h>
+char *dm_strdup_real(const char *str);
+char *dm_strdup_real(const char *str)
+{
+ return dm_strdup(str);
+}
+
char *dm_strdup_aux(const char *str)
{
char *ret = dm_malloc(strlen(str) + 1);
More information about the pkg-lvm-commits
mailing list