Changeset 5126f80 in mainline for uspace/app/trace/trace.c
- Timestamp:
- 2017-03-08T11:42:17Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d35511
- Parents:
- a737667e
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-08 11:42:17)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-08 11:42:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
ra737667e r5126f80 512 512 goto error; 513 513 514 /* Send program pathname*/514 /* Send program. */ 515 515 rc = loader_set_program_path(ldr, path); 516 516 if (rc != EOK) … … 523 523 524 524 /* Send default files */ 525 int fd_root; 525 526 int fd_stdin; 526 527 int fd_stdout; 527 528 int fd_stderr; 529 530 fd_root = vfs_root(); 531 if (fd_root >= 0) { 532 rc = loader_add_inbox(ldr, "root", fd_root); 533 close(fd_root); 534 if (rc != EOK) 535 goto error; 536 } 528 537 529 538 if ((stdin != NULL) && (vfs_fhandle(stdin, &fd_stdin) == EOK)) {
Note:
See TracChangeset
for help on using the changeset viewer.