Changeset 36e9cd1 in mainline for uspace/app/bdsh
- Timestamp:
- 2010-02-10T23:15:27Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0701066
- Parents:
- 3149fc0
- Location:
- uspace/app/bdsh
- Files:
-
- 4 edited
-
cmds/builtins/builtins.h (modified) (1 diff)
-
cmds/builtins/cd/cd_def.h (modified) (1 diff)
-
cmds/builtins/exit/exit_def.h (modified) (1 diff)
-
input.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/builtins.h
r3149fc0 r36e9cd1 10 10 #include "cd/cd_def.h" 11 11 #include "exit/exit_def.h" 12 {NULL, NULL, NULL, NULL }12 {NULL, NULL, NULL, NULL, NULL} 13 13 }; 14 14 -
uspace/app/bdsh/cmds/builtins/cd/cd_def.h
r3149fc0 r36e9cd1 4 4 &cmd_cd, 5 5 &help_cmd_cd, 6 0 6 7 }, -
uspace/app/bdsh/cmds/builtins/exit/exit_def.h
r3149fc0 r36e9cd1 4 4 &cmd_exit, 5 5 &help_cmd_exit, 6 0 6 7 }, -
uspace/app/bdsh/input.c
r3149fc0 r36e9cd1 508 508 { 509 509 int sa, sb; 510 wchar_t tmp_c;511 510 char *str; 512 511 … … 514 513 515 514 if (sb < ti->nc) { 516 tmp_c = ti->buffer[sb];515 wchar_t tmp_c = ti->buffer[sb]; 517 516 ti->buffer[sb] = '\0'; 518 } 519 520 str = wstr_to_astr(ti->buffer + sa); 521 522 if (sb < ti->nc) 517 str = wstr_to_astr(ti->buffer + sa); 523 518 ti->buffer[sb] = tmp_c; 524 519 } else 520 str = wstr_to_astr(ti->buffer + sa); 521 525 522 if (str == NULL) 526 523 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.
