Rev 3634 | Rev 4264 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3634 | Rev 3638 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | 37 | ||
| 38 | #include "fat_dentry.h" |
38 | #include "fat_dentry.h" |
| 39 | #include <ctype.h> |
39 | #include <ctype.h> |
| 40 | #include <string.h> |
40 | #include <string.h> |
| 41 | 41 | ||
| 42 | #define FAT_PAD ' ' |
- | |
| 43 | - | ||
| 44 | #define FAT_DENTRY_UNUSED 0x00 |
- | |
| 45 | #define FAT_DENTRY_E5_ESC 0x05 |
- | |
| 46 | #define FAT_DENTRY_DOT 0x2e |
- | |
| 47 | #define FAT_DENTRY_ERASED 0xe5 |
- | |
| 48 | - | ||
| 49 | static bool is_d_char(const char ch) |
42 | static bool is_d_char(const char ch) |
| 50 | { |
43 | { |
| 51 | if (isalnum(ch) || ch == '_') |
44 | if (isalnum(ch) || ch == '_') |
| 52 | return true; |
45 | return true; |
| 53 | else |
46 | else |