2022-05-18 09:42:56 +00:00
|
|
|
qbs*oldstr6216=NULL;
|
2022-05-14 20:59:49 +00:00
|
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
2022-05-18 09:42:56 +00:00
|
|
|
oldstr6216=_SUB_CLEANSUBNAME_STRING_N;
|
|
|
|
if (oldstr6216->cmem_descriptor){
|
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr6216->len,0);
|
2022-05-14 20:59:49 +00:00
|
|
|
}else{
|
2022-05-18 09:42:56 +00:00
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr6216->len,0);
|
2022-05-14 20:59:49 +00:00
|
|
|
}
|
2022-05-18 09:42:56 +00:00
|
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr6216->chr,oldstr6216->len);
|
2022-05-14 20:59:49 +00:00
|
|
|
}
|
|
|
|
int32 *_SUB_CLEANSUBNAME_LONG_X=NULL;
|
|
|
|
if(_SUB_CLEANSUBNAME_LONG_X==NULL){
|
|
|
|
_SUB_CLEANSUBNAME_LONG_X=(int32*)mem_static_malloc(4);
|
|
|
|
*_SUB_CLEANSUBNAME_LONG_X=0;
|
|
|
|
}
|