Changeset 321 for EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.c
- Timestamp:
- Aug 23, 2017, 9:27:43 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/ntshell/usrcmd.c
- Property svn:keywords deleted
-
Property svn:mime-type
changed from
text/x-csrc
totext/x-csrc;charset=UTF-8
r279 r321 149 149 #define LS_ALL 0x01 150 150 #define LS_LONG 0x02 151 /* ls ã³ãã³ã 1è¡è¡¨ç¤º*/151 /* lsコマンド 1行表示 */ 152 152 void print_one_list(FILINFO *fno, BYTE list_option) 153 153 { … … 195 195 196 196 #define LFN_BUF_SIZE (_MAX_LFN + 1) 197 /* lsã³ãã³ã dirå 198 表示 */ 197 /* lsコマンド dir内 表示 */ 199 198 void print_ls(char *path_p, char *pattern_p, BYTE list_option) 200 199 { … … 236 235 237 236 while ((res == FR_OK) && (fno.fname[0] != 0)) { 238 if (pattern_p != NULL && (fno.fattrib & AM_DIR) && ((fno.fname[0] == '.') ? (pattern_p[0] == '.') : 1)) {/* DIR ã¨ãã¿ã¼ã³ããããã¦ããå ´å㯠DIR å 239 é¨ã ls ãã */ 237 if (pattern_p != NULL && (fno.fattrib & AM_DIR) && ((fno.fname[0] == '.') ? (pattern_p[0] == '.') : 1)) {/* DIR とパターンマッチしている場合は DIR 内部を ls する */ 240 238 #if _USE_LFN 241 239 fn = *fno.lfname ? fno.lfname : fno.fname; … … 336 334 return 0; 337 335 338 /* å¼æ°ãã§ãã¯*/336 /* 引数チェック */ 339 337 for (i = 1; i < argc; i++) { 340 338 if (argv[i][0] == '-') … … 382 380 } 383 381 if (fno.fattrib & AM_DIR) { /* src is dir */ 384 /*******************************************************/ /* from dir */ /* æªå®è£ 385 */ 382 /*******************************************************/ /* from dir */ /* 未実装 */ 386 383 } 387 384 else { /* src is file */
Note:
See TracChangeset
for help on using the changeset viewer.