<html><head><title>Samsung Enterprise Portal mySingle</title>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<style id="mysingle_style" type="text/css">P {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt
}
TD {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt
}
LI {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 12pt
}
BODY {
        LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: Arial, arial; FONT-SIZE: 12pt
}
</style>

<meta name="GENERATOR" content="ActiveSquare">
</head><body>
<p><span style="font-family: Calibri;">Hi, </span></p>
<p><span style="font-family: Calibri;"></span> </p>
<p><span style="font-family: Calibri;">I've done the basic build test with the changes and the build works fine. </span></p>
<p><span style="font-family: Calibri;">I've also tried to execute "negative-stride-image" and "stride-12-image" tests with and without these changes.</span></p>
<p><span style="font-family: Calibri;">In both the scenarios the results are same.</span></p>
<p><span style="font-family: Calibri;"></span> </p>
<p>Thanks and Best Regards, </p>
<p>N Ravi</p><!--nravi.n:EP-->
<p> </p>
<p>------- <b>Original Message</b> -------</p>
<p><b>Sender</b> : RAVI NANJUNDAPPA<nravi.n@samsung.com> Technical Lead/SRI-Bangalore-TZN/Samsung Electronics</p>
<p><b>Date</b> : May 06, 2014 15:44 (GMT+05:30)</p>
<p><b>Title</b> : [PATCH] test : Maintain consistency in the usage of xcalloc</p>
<p> </p>xcalloc is a wrapper for calloc. If it can't allocate memory then it<br>terminates the program. The current changes replace the usages of calloc<br>by xcalloc in tests.<br><br>Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com><br>---<br>test/negative-stride-image.c |    2 +-<br>test/stride-12-image.c       |    2 +-<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/test/negative-stride-image.c b/test/negative-stride-image.c<br>index a407b8c..dfc8d64 100644<br>--- a/test/negative-stride-image.c<br>+++ b/test/negative-stride-image.c<br>@@ -41,7 +41,7 @@ draw (cairo_t *cr, int width, int height)<br>     png = cairo_test_create_surface_from_png (ctx, png_filename);<br><br>     stride = cairo_format_stride_for_width (format, width);<br>-    data = calloc (stride, height);<br>+    data = xcalloc (stride, height);<br>     inv = cairo_image_surface_create_for_data (data + stride * (height - 1),<br>       format, width, height, -stride);<br><br>diff --git a/test/stride-12-image.c b/test/stride-12-image.c<br>index 21bd8b0..5650e98 100644<br>--- a/test/stride-12-image.c<br>+++ b/test/stride-12-image.c<br>@@ -41,7 +41,7 @@ draw (cairo_t *cr, int width, int height)<br>     png = cairo_test_create_surface_from_png (ctx, png_filename);<br><br>     stride = cairo_format_stride_for_width (format, width) + 12;<br>-    data = calloc (stride, height);<br>+    data = xcalloc (stride, height);<br>     src = cairo_image_surface_create_for_data (data, format,<br>       width, height, stride);<br><br>-- <br>1.7.9.5<br><br>
<p> </p>
<table id="confidentialsignimg">
<tbody>
<tr>
<td NAMO_LOCK="">
<p><img border="0" src="cid:BEI0XT4NZ5JE@namo.co.kr" width="520"></p></td></tr></tbody></table></nravi.n@samsung.com></body></html><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=15cbe3ad9300062ac60f6b3391d8dbc748ee95ff0d3fddfbc8b2bb558ee3c5857a7d13a75eee0fa797a3adbfcf2587a949e5ff3dfdc8681d76f80bf81d31c863cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>