2016-06-22 12:17:00 +00:00
|
|
|
qbs*oldstr3517=NULL;
|
2015-10-30 12:18:44 +00:00
|
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->tmp||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->fixed||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->readonly){
|
2016-06-22 12:17:00 +00:00
|
|
|
oldstr3517=_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE;
|
|
|
|
if (oldstr3517->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE=qbs_new_cmem(oldstr3517->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2016-06-22 12:17:00 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE=qbs_new(oldstr3517->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|
2016-06-22 12:17:00 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->chr,oldstr3517->chr,oldstr3517->len);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|
2016-06-22 12:17:00 +00:00
|
|
|
qbs*oldstr3518=NULL;
|
2015-10-30 12:18:44 +00:00
|
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->tmp||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->fixed||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->readonly){
|
2016-06-22 12:17:00 +00:00
|
|
|
oldstr3518=_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE;
|
|
|
|
if (oldstr3518->cmem_descriptor){
|
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE=qbs_new_cmem(oldstr3518->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2016-06-22 12:17:00 +00:00
|
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE=qbs_new(oldstr3518->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|
2016-06-22 12:17:00 +00:00
|
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->chr,oldstr3518->chr,oldstr3518->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|