2 * @file Bug_3710_Regression_Test.cpp
4 * Reproduces the problems reported in bug 3710
5 * http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3710
8 #include "test_config.h"
10 #include "ace/OS_NS_string.h"
11 #include "ace/OS_NS_unistd.h"
12 #include "ace/OS_Memory.h"
18 run_main (int, ACE_TCHAR
*[])
20 ACE_START_TEST (ACE_TEXT ("Bug_3710_Regression_Test"));
22 ACE_TCHAR out_string
[64*1024+1];
24 ACE_OS::memset(out_string
,ACE_TEXT('@'),sizeof(out_string
));
25 //I only use ACE_MAXLOGMSGLEN char .
26 out_string
[ACE_MAXLOGMSGLEN
] = ACE_TEXT('\0');
27 ACE_DEBUG((LM_ALERT
, ACE_TEXT("%s out_string: I love beijing."),out_string
));