Lines Matching refs:statb
98 struct stat statb;
144 else if(fstat(sffileno(fpin),&statb) < 0)
146 else if(S_ISDIR(statb.st_mode))
148 else if(statb.st_nlink > 1)
150 else if(statb.st_size ==0)
154 else if(((out=open(outfile,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,PERM(statb.st_mode))) < 0) ||
157 else if((deleted++,chmod(outfile,statb.st_mode)) < 0)
158 error(ERROR_system(0), "%s: cannot change mode to %o",outfile,statb.st_mode);
161 chown(outfile,statb.st_uid,statb.st_gid);