svn commit: samba r2170 - in branches/SAMBA_4_0/source/torture/local: .

tridge at samba.org tridge at samba.org
Wed Sep 1 09:45:33 GMT 2004


Author: tridge
Date: 2004-09-01 09:45:33 +0000 (Wed, 01 Sep 2004)
New Revision: 2170

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture/local&rev=2170&nolog=1

Log:
if we don't have a native iconv library then we can't build this test



Modified:
   branches/SAMBA_4_0/source/torture/local/iconv.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/local/iconv.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/iconv.c	2004-09-01 09:45:00 UTC (rev 2169)
+++ branches/SAMBA_4_0/source/torture/local/iconv.c	2004-09-01 09:45:33 UTC (rev 2170)
@@ -23,6 +23,7 @@
 
 #include "includes.h"
 
+#if HAVE_NATIVE_ICONV
 /*
   generate a UTF-16LE buffer for a given unicode codepoint
 */
@@ -240,7 +241,6 @@
 	}
 	
 	if (memcmp(buf3, inbuf, size) != 0) {
-		int i;
 		printf("pull bytes mismatch:\n");
 		show_buf("inbuf", inbuf, size);
 		show_buf(" buf3", buf3, size);
@@ -305,3 +305,12 @@
 }
 
 
+#else
+
+BOOL torture_local_iconv(int dummy) 
+{
+	printf("No native iconv library - can't run iconv test\n");
+	return True;
+}
+
+#endif



More information about the samba-cvs mailing list