Changeset 442 for EcnlProtoTool/trunk/ntshell/fatfs/ff.c
- Timestamp:
- Jul 13, 2020, 8:07:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/fatfs/ff.c
r435 r442 20 20 #include "ff.h" /* Declarations of FatFs API */ 21 21 #include "diskio.h" /* Declarations of disk I/O functions */ 22 #include "util/ntstdio.h"23 22 24 23 /*-------------------------------------------------------------------------- … … 3910 3909 if (dir[DIR_Attr] & AM_DIR) { /* The new object is a directory */ 3911 3910 temp_new_path = (TCHAR *)ff_memalloc((FF_MAX_LFN + 1) * sizeof(WCHAR)); 3912 ntstdio_snprintf(temp_new_path, FF_MAX_LFN, "%s/%s", path_new, basename((char *)path_old));3911 snprintf(temp_new_path, FF_MAX_LFN, "%s/%s", path_new, basename((char *)path_old)); 3913 3912 res = follow_path(&djn, temp_new_path); 3914 3913 }
Note:
See TracChangeset
for help on using the changeset viewer.