Changeset 8e1dc00 in mainline
- Timestamp:
- 2009-07-21T20:12:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84683fdc
- Parents:
- 654a30a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
r654a30a r8e1dc00 551 551 goto error; 552 552 553 /* Send default files */ 554 fdi_node_t *files[4]; 555 fdi_node_t stdin_node; 556 fdi_node_t stdout_node; 557 fdi_node_t stderr_node; 558 559 if ((stdin != NULL) && (fnode(stdin, &stdin_node) == EOK)) 560 files[0] = &stdin_node; 561 else 562 files[0] = NULL; 563 564 if ((stdout != NULL) && (fnode(stdout, &stdout_node) == EOK)) 565 files[1] = &stdout_node; 566 else 567 files[1] = NULL; 568 569 if ((stderr != NULL) && (fnode(stderr, &stderr_node) == EOK)) 570 files[2] = &stderr_node; 571 else 572 files[2] = NULL; 573 574 files[3] = NULL; 575 576 rc = loader_set_files(ldr, files); 577 if (rc != EOK) 578 goto error; 579 553 580 /* Load the program. */ 554 581 rc = loader_load_program(ldr);
Note:
See TracChangeset
for help on using the changeset viewer.