Changeset 92fd52d7 in mainline for uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
- Timestamp:
- 2009-04-09T21:16:50Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7afb4a5
- Parents:
- a2c58f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
ra2c58f6 r92fd52d7 150 150 /* Sometimes make or scripts conjoin odd paths. Account for something 151 151 * like this: ../../foo/bar/../foo/foofoo/./bar */ 152 if (!str cmp(dirs[i], "..") || !strcmp(dirs[i], ".")) {152 if (!str_cmp(dirs[i], "..") || !str_cmp(dirs[i], ".")) { 153 153 if (0 != (chdir(dirs[i]))) { 154 154 cli_error(CL_EFAIL, "%s: impossible path: %s",
Note:
See TracChangeset
for help on using the changeset viewer.