2016-09-03 12:15:12 +00:00
|
|
|
qbs*oldstr3614=NULL;
|
2015-10-30 12:18:44 +00:00
|
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->tmp||_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->fixed||_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->readonly){
|
2016-09-03 12:15:12 +00:00
|
|
|
oldstr3614=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE;
|
|
|
|
if (oldstr3614->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new_cmem(oldstr3614->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2016-09-03 12:15:12 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new(oldstr3614->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-09-03 12:15:12 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->chr,oldstr3614->chr,oldstr3614->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-09-03 12:15:12 +00:00
|
|
|
qbs*oldstr3615=NULL;
|
2015-10-30 12:18:44 +00:00
|
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->tmp||_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->fixed||_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->readonly){
|
2016-09-03 12:15:12 +00:00
|
|
|
oldstr3615=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR;
|
|
|
|
if (oldstr3615->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new_cmem(oldstr3615->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2016-09-03 12:15:12 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new(oldstr3615->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-09-03 12:15:12 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->chr,oldstr3615->chr,oldstr3615->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|