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