The following commit has been merged in the master branch:
commit e87b2838b21f76394f0827ccd8709313c56c7a23
Author: Guillem Jover <[email protected]>
Date:   Fri Aug 28 19:55:06 2009 +0200

    libdpkg: Rename buffer_copy_setup_dual to buffer_copy_TYPE

diff --git a/lib/dpkg/buffer.c b/lib/dpkg/buffer.c
index 7936c60..741945b 100644
--- a/lib/dpkg/buffer.c
+++ b/lib/dpkg/buffer.c
@@ -160,7 +160,7 @@ buffer_read(buffer_data_t data, void *buf, off_t length, 
const char *desc)
        return ret;
 }
 
-#define buffer_copy_setup_dual(name, type1, name1, type2, name2) \
+#define buffer_copy_TYPE(name, type1, name1, type2, name2) \
 off_t \
 buffer_copy_setup_##name(type1 n1, int typeIn, \
                          type2 n2, int typeOut, \
@@ -189,10 +189,10 @@ buffer_copy_setup_##name(type1 n1, int typeIn, \
        return ret; \
 }
 
-buffer_copy_setup_dual(IntInt, int, i, int, i);
-buffer_copy_setup_dual(IntPtr, int, i, void *, ptr);
-buffer_copy_setup_dual(PtrInt, void *, ptr, int, i);
-buffer_copy_setup_dual(PtrPtr, void *, ptr, void *, ptr);
+buffer_copy_TYPE(IntInt, int, i, int, i);
+buffer_copy_TYPE(IntPtr, int, i, void *, ptr);
+buffer_copy_TYPE(PtrInt, void *, ptr, int, i);
+buffer_copy_TYPE(PtrPtr, void *, ptr, void *, ptr);
 
 off_t
 buffer_copy(buffer_data_t read_data, buffer_data_t write_data,

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to