SHARE
TWEET

Untitled

a guest Sep 25th, 2015 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rb->lseek(gob_file, current_header.idx_offset, SEEK_SET);
  2.     long num_files;
  3.     rb->read(gob_file, &num_files, sizeof(long));
  4.     rb->splashf(HZ, "%d", num_files);
  5.  
  6.     int i;
  7.     int ofs = sizeof(long)*3;
  8.     for(i = 0; i != num_files+1; i++) {
  9.         rb->lseek(gob_file, current_header.idx_offset + ofs, SEEK_SET);
  10.         char name[13];
  11.         rb->read(gob_file, &name, 13);
  12.         rb->splash(HZ, name);
  13.         ofs = ofs + (sizeof(long)*2);
  14.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top