| changeset 32 | 90e14e0df133 |
| parent 31 | 7804cd7b5cd5 |
| child 34 | 460f995d3769 |
| 31:7804cd7b5cd5 | 32:90e14e0df133 |
|---|---|
8 if (!strcmp(type, "DIR")) |
8 if (!strcmp(type, "DIR")) |
9 return S_IFDIR; |
9 return S_IFDIR; |
10 |
10 |
11 if (!strcmp(type, "REG")) |
11 if (!strcmp(type, "REG")) |
12 return S_IFREG; |
12 return S_IFREG; |
13 |
|
14 if (!strcmp(type, "LNK")) |
|
15 return S_IFLNK; |
|
13 |
16 |
14 else { |
17 else { |
15 WARNING("[dbfs] weird mode-type: %s", type); |
18 WARNING("[dbfs] weird mode-type: %s", type); |
16 return 0; |
19 return 0; |
17 } |
20 } |