- struct stat st=FS::stat((*i)->get_name());
- store_number(buf+100, st.st_mode, 7);
- store_number(buf+108, st.st_uid, 7);
- store_number(buf+116, st.st_gid, 7);
- store_number(buf+124, st.st_size, 11);
- store_number(buf+136, st.st_mtime, 11);
- buf[156]='0';
+ FS::Stat st = FS::stat(ft->get_path());
+ store_number(buf+100, 0666, 7);
+ store_number(buf+108, 0, 7);
+ store_number(buf+116, 0, 7);
+ store_number(buf+124, st.get_size(), 11);
+ store_number(buf+136, st.get_modify_time().to_unixtime(), 11);
+ buf[156] = '0';