Exemple #1
0
/* 
 * Links fragment and returns size of fragment (in bytes).
 */
int v_end_incremental(void) {
        int nbytes;

        v_link();
        v_nop(); v_nop(); v_nop(); v_nop();
        nbytes = (char *)v_stop() - (char *)frag_begin;
        if(nbytes > frag_bytes) 
                v_fatal("v_end_incremental: buffer overflow\n");
        v_flushcache(frag_begin, nbytes);
	v_incremental = 0;
        return nbytes;
}
Exemple #2
0
void Link::perform()
{
   QString dbname;
   getVar("db_name", dbname);
   FileErrorList errors;

   for(int i=0; i<files.count(); i++)
   {
      if (!v_link( files[i],dbname,errors))
      {
         QOSystem::QBox("error");
      }
   }
}