Lines Matching refs:stat_buf
693 struct stat stat_buf;
707 if (fstat (old_file, &stat_buf) == -1)
720 old_file_size = stat_buf.st_size;
726 if (read (old_file, old_base, stat_buf.st_size) != stat_buf.st_size)
818 objects. stat_buf still has old_file data. */
824 new_file_size = stat_buf.st_size + old_file_h->e_shentsize + new_data2_size;
1385 if (stat (new_name, &stat_buf) == -1)
1390 stat_buf.st_mode |= 0111 & ~n;
1391 if (chmod (new_name, stat_buf.st_mode) == -1)