Patch level : 10.0
Files correlati : ba1.exe Ricompilazione Demo : [ ] Commento : Migliorata conversione indici git-svn-id: svn://10.65.10.50/trunk@17812 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									583a229d2b
								
							
						
					
					
						commit
						453c44fd4c
					
				@ -969,11 +969,11 @@ void TManutenzione_app::update_dir()
 | 
				
			|||||||
          {
 | 
					          {
 | 
				
			||||||
            if (flags < 10000L && to_create)
 | 
					            if (flags < 10000L && to_create)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              remove(d.filename());
 | 
					              xvt_fsys_file_remove(d.filename());
 | 
				
			||||||
              TToken_string idx_names;
 | 
					              TToken_string idx_names;
 | 
				
			||||||
              get_idx_names(i, idx_names);
 | 
					              get_idx_names(i, idx_names);
 | 
				
			||||||
              for (const char * idx_name = idx_names.get(); idx_name != NULL; idx_name = idx_names.get())
 | 
					              FOR_EACH_TOKEN(idx_names, idx_name)
 | 
				
			||||||
                remove(idx_name);
 | 
					                xvt_fsys_file_remove(idx_name);
 | 
				
			||||||
              d.get(i, _nolock, _nordir, _sysdirop);
 | 
					              d.get(i, _nolock, _nordir, _sysdirop);
 | 
				
			||||||
              d.eod() = 0L;
 | 
					              d.eod() = 0L;
 | 
				
			||||||
              d.eox() = 0L;
 | 
					              d.eox() = 0L;
 | 
				
			||||||
 | 
				
			|||||||
@ -384,15 +384,15 @@ int TIsam_date_converter::convert_file(int logicnum)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      // Remove files partially converted
 | 
					      // Remove files partially converted
 | 
				
			||||||
      old.ext("dbf");
 | 
					      old.ext("dbf");
 | 
				
			||||||
      ::remove(old);
 | 
					      xvt_fsys_file_remove(old);
 | 
				
			||||||
      TToken_string t(10);
 | 
					      TToken_string t(10);
 | 
				
			||||||
      get_idx_names(logicnum,t);
 | 
					      get_idx_names(logicnum,t);
 | 
				
			||||||
      for (const char * name=t.get(0); name != NULL; name=t.get())
 | 
					      FOR_EACH_TOKEN(t, name)
 | 
				
			||||||
        ::remove(name);
 | 
					        xvt_fsys_file_remove(name);
 | 
				
			||||||
      if (t.items() > 1) // A .cgp must be removed too!
 | 
					      if (t.items() > 1) // A .cgp must be removed too!
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        old.ext("cgp");
 | 
					        old.ext("cgp");
 | 
				
			||||||
        ::remove(old);
 | 
					        xvt_fsys_file_remove(old);
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      // Put dir to restore original EOD and EOX.
 | 
					      // Put dir to restore original EOD and EOX.
 | 
				
			||||||
      dir.get(logicnum,_lock,_nordir,_sysdirop);
 | 
					      dir.get(logicnum,_lock,_nordir,_sysdirop);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user