svn commit: samba r23013 - in
branches/SAMBA_4_0/source/lib/charset: .
tridge at samba.org
tridge at samba.org
Sat May 19 07:05:19 GMT 2007
Author: tridge
Date: 2007-05-19 07:05:14 +0000 (Sat, 19 May 2007)
New Revision: 23013
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23013
Log:
fixed a bug in the string_replace_w() test that caused OpenBSD to die
Modified:
branches/SAMBA_4_0/source/lib/charset/testsuite.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/charset/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/charset/testsuite.c 2007-05-19 06:51:34 UTC (rev 23012)
+++ branches/SAMBA_4_0/source/lib/charset/testsuite.c 2007-05-19 07:05:14 UTC (rev 23013)
@@ -83,7 +83,7 @@
static bool test_string_replace_w(struct torture_context *tctx)
{
- char data[] = "bla";
+ char data[6] = "bla";
string_replace_w(data, 'b', 'c');
torture_assert_str_equal(tctx, data, "cla", "first char replaced");
memcpy(data, "bab", 4);
More information about the samba-cvs
mailing list