2016-08-18 12:23:07 +00:00
|
|
|
qbs*oldstr3606=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-08-18 12:23:07 +00:00
|
|
|
oldstr3606=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE;
|
|
|
|
if (oldstr3606->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new_cmem(oldstr3606->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2016-08-18 12:23:07 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE=qbs_new(oldstr3606->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-08-18 12:23:07 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_CODE->chr,oldstr3606->chr,oldstr3606->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-08-18 12:23:07 +00:00
|
|
|
qbs*oldstr3607=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-08-18 12:23:07 +00:00
|
|
|
oldstr3607=_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR;
|
|
|
|
if (oldstr3607->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new_cmem(oldstr3607->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2016-08-18 12:23:07 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR=qbs_new(oldstr3607->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2016-08-18 12:23:07 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDDIR_STRING_DIR->chr,oldstr3607->chr,oldstr3607->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|