Lines Matching refs:rename
86 If rename() still fails because of ENOSPC or EDQUOT, we still save
89 apply the flag changes to the filename, rename it and remove the
99 whole uidlist into it and rename()ing it over the old uidlist. This
103 one's. Use utime() before rename() if needed. Note that inode checking
144 link() + unlink() rather than rename(). This however isn't very
168 create a completely new base name for it and rename() it to that.
194 /* When rename()ing many files from new/ to cur/, it's possible that next
202 /* This is mostly to avoid infinite looping when rename() destination already
321 rename()ing one file on top of the other would fix
322 this safely, except POSIX decided that rename()
347 if (rename(path2, new_path) == 0)
351 "Couldn't fix a duplicate: rename(%s, %s) failed: %m",
368 if (rename(old_path, new_path) == 0)
372 "Couldn't fix a broken filename: rename(%s, %s) failed: %m",
493 if (rename(str_c(src), str_c(dest)) == 0) {
513 "rename(%s, %s) failed: %m",
545 /* OS X HFS+: readdir() fails sometimes when rename()
585 "(%u readdir()s, %u rename()s to cur/, why=0x%x)",
843 2. If another process is rename()ing files while we are
920 /* rename()d at least some files, which might have