Problem occurs using "strcpy() " function as below . this is problem
facing in AIX53 UNIX
p_data_array->item_pricing.dept_nbr = 14;
sss_log(L_DEBUG,"line 780 3");
/**if comment from here****/
strcpy(p_data_array->sku_act.activity_date_ts," 2008-10-24
13:20:57"); /*p_data_array is the structure pointer */
strcpy(p_data_array->desc ,"sample ");
strcpy(p_data_array->pos_desc,"LATCH BOX");
strcpy(p_data_array->size,"28");
strcpy(p_data_array->color,"CLEAR");
strcpy(p_data_array->stock_num,"19242710");
/**comment end ****/
sss_log(L_DEBUG,"line 780 4 --1--");
sss_log(L_DEBUG,"line 780 4 --2--");
p_data_array->supplier_id = 492918;
sss_log(L_DEBUG,"line 780 5 A");
Output :
:line 758 1
:line 780 2 a
:line 780 2 B
:line 780 2 C
:line 780 2 D
:line 780 3
:line 780 4 --1--
// program is not continue from
here , but no error and core dump ,
what will be the solution for these type of problem ,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Embedded_C++_VC++" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.co.in/group/Embedded_C_VC?hl=en
-~----------~----~----~----~------~----~------~--~---