Changeset 637 for trunk/kernel/syscalls/sys_rename.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_rename.c
r613 r637 2 2 * sys_rename.c - Rename a file or a directory. 3 3 * 4 * Author Alain Greiner (2016,2017,2018 )4 * Author Alain Greiner (2016,2017,2018,2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 75 75 76 76 // copy old name an new name in kernel space 77 hal_strcpy_from_uspace( k_old, old , CONFIG_VFS_MAX_PATH_LENGTH );78 hal_strcpy_from_uspace( k_new, new , CONFIG_VFS_MAX_PATH_LENGTH );77 hal_strcpy_from_uspace( XPTR( local_cxy , k_old ) , old , CONFIG_VFS_MAX_PATH_LENGTH ); 78 hal_strcpy_from_uspace( XPTR( local_cxy , k_new ) , new , CONFIG_VFS_MAX_PATH_LENGTH ); 79 79 80 80 #if DEBUG_SYS_RENAME
Note: See TracChangeset
for help on using the changeset viewer.