Err, it seems you have a diff.gz change combined with a patches change
to un-do it?
--- axis2c-1.6.0/util/test/util/test_util.c
+++ axis2c-1.6.0.orig/util/test/util/test_util.c
@@ -243,6 +243,7 @@
test_log_write(
)
{
+ char msg[10];
printf("start of test_log_write\n\n");
axutil_allocator_t *allocator = axutil_allocator_init(NULL);
if (!allocator)
@@ -271,6 +272,7 @@
printf("cannot create env with error and log\n");
return;
}
+ strcpy(msg, "abcd test123");
AXIS2_LOG_CRITICAL(env->log, AXIS2_LOG_SI, "log1 %s", "test1");
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "log2 %d", 2);
only in patch2:
unchanged:
--- axis2c-1.6.0.orig/debian/patches/04_fix_testsuite.patch
+++ axis2c-1.6.0/debian/patches/04_fix_testsuite.patch
@@ -0,0 +1,38 @@
+--- axis2c-1.6.0.orig/util/test/util/test_util.c
++++ axis2c-1.6.0/util/test/util/test_util.c
+@@ -243,7 +243,6 @@
+ test_log_write(
+ )
+ {
+- char msg[10];
+ printf("start of test_log_write\n\n");
+ axutil_allocator_t *allocator = axutil_allocator_init(NULL);
+ if (!allocator)
+@@ -272,7 +271,6 @@
+ printf("cannot create env with error and log\n");
+ return;
+ }
+- strcpy(msg, "abcd test123");
+
+ AXIS2_LOG_CRITICAL(env->log, AXIS2_LOG_SI, "log1 %s", "test1");
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "log2 %d", 2);
--
MIR for axis2c
https://bugs.launchpad.net/bugs/418225
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs