Lines Matching defs:dest_filename
55 copy_file_preserving (const char *src_filename, const char *dest_filename)
71 dest_fd = open (dest_filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0600);
74 dest_filename);
86 error (EXIT_FAILURE, errno, _("error writing \"%s\""), dest_filename);
91 error (EXIT_FAILURE, errno, _("error writing \"%s\""), dest_filename);
103 utime (dest_filename, &ut);
111 utimes (dest_filename, &ut);
117 chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
122 if (copy_acl (src_filename, src_fd, dest_filename, dest_fd, mode))
125 chmod (dest_filename, mode);
130 error (EXIT_FAILURE, errno, _("error writing \"%s\""), dest_filename);