void SUB_INICOMMIT(){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data124.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(24220,40,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(24220,41,"ini.bm");}while(r);
S_33520:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_CURRENTINIFILENAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24220,43,"ini.bm");if(r)goto S_33520;}
do{
*__LONG_INICODE= 18 ;
if(!qbevent)break;evnt(24220,43,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24220,43,"ini.bm");}while(r);
}
do{
qbs_set(__STRING_INIWHOLEFILE,__STRING_ININEWFILE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,45,"ini.bm");}while(r);
do{
*__ULONG_CURRENTINIFILELOF=__STRING_ININEWFILE->len;
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,46,"ini.bm");}while(r);
S_33526:;
if ((~(*__LONG_INIDISABLEAUTOCOMMIT))||is_error_pending()){
if(qbevent){evnt(24220,48,"ini.bm");if(r)goto S_33526;}
do{
if(!qbevent)break;evnt(24220,49,"ini.bm");}while(r);
do{
*_SUB_INICOMMIT_INTEGER_FILENUM=func_freefile();
if(!qbevent)break;evnt(24220,51,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 2 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,52,"ini.bm");}while(r);
S_33530:;
if ((qbs_cleanup(qbs_tmp_base,-(__STRING_INIWHOLEFILE->len<func_lof(*_SUB_INICOMMIT_INTEGER_FILENUM))))||is_error_pending()){
if(qbevent){evnt(24220,54,"ini.bm");if(r)goto S_33530;}
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(24220,55,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 4 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,56,"ini.bm");}while(r);
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(24220,56,"ini.bm");}while(r);
do{
sub_open(__STRING_CURRENTINIFILENAME, 2 ,NULL,NULL,*_SUB_INICOMMIT_INTEGER_FILENUM,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,57,"ini.bm");}while(r);
}
do{
sub_put2(*_SUB_INICOMMIT_INTEGER_FILENUM, 1 ,byte_element((uint64)__STRING_ININEWFILE->chr,__STRING_ININEWFILE->len,byte_element_3882),1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24220,60,"ini.bm");}while(r);
do{
sub_close(*_SUB_INICOMMIT_INTEGER_FILENUM,1);
if(!qbevent)break;evnt(24220,61,"ini.bm");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free124.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
}
