2017-10-04 12:15:08 +00:00
|
|
|
qbs*oldstr3500=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){
|
2017-10-04 12:15:08 +00:00
|
|
|
oldstr3500=_SUB_GIVE_ERROR_STRING_A;
|
|
|
|
if (oldstr3500->cmem_descriptor){
|
|
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr3500->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2017-10-04 12:15:08 +00:00
|
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr3500->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2017-10-04 12:15:08 +00:00
|
|
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr3500->chr,oldstr3500->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|