Searched refs:olddir (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/sysdeps/mach/hurd/ |
D | rename.c | 26 file_t olddir, newdir; in rename() local 29 olddir = __directory_name_split (old, (char **) &oldname); in rename() 30 if (olddir == MACH_PORT_NULL) in rename() 35 __mach_port_deallocate (__mach_task_self (), olddir); in rename() 39 err = __dir_rename (olddir, oldname, newdir, newname, 0); in rename() 40 __mach_port_deallocate (__mach_task_self (), olddir); in rename()
|
D | renameat2.c | 29 file_t olddir, newdir; in __renameat2() local 40 olddir = __directory_name_split_at (oldfd, old, (char **) &oldname); in __renameat2() 41 if (olddir == MACH_PORT_NULL) in __renameat2() 46 __mach_port_deallocate (__mach_task_self (), olddir); in __renameat2() 50 err = __dir_rename (olddir, oldname, newdir, newname, excl); in __renameat2() 51 __mach_port_deallocate (__mach_task_self (), olddir); in __renameat2()
|