2017-05-18 12:17:33 +00:00
|
|
|
qbs*oldstr3650=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){
|
2017-05-18 12:17:33 +00:00
|
|
|
oldstr3650=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE;
|
|
|
|
if (oldstr3650->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new_cmem(oldstr3650->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2017-05-18 12:17:33 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new(oldstr3650->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2017-05-18 12:17:33 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->chr,oldstr3650->chr,oldstr3650->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2017-05-18 12:17:33 +00:00
|
|
|
qbs*oldstr3651=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){
|
2017-05-18 12:17:33 +00:00
|
|
|
oldstr3651=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR;
|
|
|
|
if (oldstr3651->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new_cmem(oldstr3651->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2017-05-18 12:17:33 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new(oldstr3651->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2017-05-18 12:17:33 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->chr,oldstr3651->chr,oldstr3651->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|