2021-01-29 05:37:23 +00:00
|
|
|
qbs*oldstr5377=NULL;
|
2021-01-23 00:30:37 +00:00
|
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
2021-01-29 05:37:23 +00:00
|
|
|
oldstr5377=_SUB_CLEANSUBNAME_STRING_N;
|
|
|
|
if (oldstr5377->cmem_descriptor){
|
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr5377->len,0);
|
2021-01-21 06:18:09 +00:00
|
|
|
}else{
|
2021-01-29 05:37:23 +00:00
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr5377->len,0);
|
2021-01-21 06:18:09 +00:00
|
|
|
}
|
2021-01-29 05:37:23 +00:00
|
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr5377->chr,oldstr5377->len);
|
2021-01-21 06:18:09 +00:00
|
|
|
}
|
2021-01-23 00:30:37 +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;
|
2021-01-21 06:18:09 +00:00
|
|
|
}
|