2016-07-18 12:15:13 +00:00
|
|
|
qbs*oldstr3412=NULL;
|
2015-08-02 12:12:44 +00:00
|
|
|
if(_SUB_GIVE_ERROR_STRING_A->tmp||_SUB_GIVE_ERROR_STRING_A->fixed||_SUB_GIVE_ERROR_STRING_A->readonly){
|
2016-07-18 12:15:13 +00:00
|
|
|
oldstr3412=_SUB_GIVE_ERROR_STRING_A;
|
|
|
|
if (oldstr3412->cmem_descriptor){
|
|
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr3412->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2016-07-18 12:15:13 +00:00
|
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr3412->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-07-18 12:15:13 +00:00
|
|
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr3412->chr,oldstr3412->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|