Changeset 2463 for trunk/ash/cd.h
- Timestamp:
- Nov 19, 2005, 4:58:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ash/cd.h
r2462 r2463 34 34 int cdcmd(int, char **); 35 35 int pwdcmd(int, char **); 36 #ifdef PC_DRIVE_LETTERS 37 #define IS_ROOT(path) ( *(path) == '/' \ 38 || *(path) == '\\' \ 39 || ( ((*(path) >= 'A' && *(path) <= 'Z') || (*(path) >= 'a' && *(path) <= 'z')) \ 40 && (path)[1] == ':') ) 41 #else 42 #define IS_ROOT(path) ( *(path) == '/' ) 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.