Changeset c632c96 in mainline for uspace/app/nav/panel.c
- Timestamp:
- 2021-10-25T00:32:45Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39ab17c
- Parents:
- f59212cc
- git-author:
- Jiri Svoboda <jiri@…> (2021-10-20 22:22:04)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-10-25 00:32:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nav/panel.c
rf59212cc rc632c96 1079 1079 int retval; 1080 1080 errno_t rc; 1081 ui_t *ui; 1081 1082 1082 1083 /* It's not a directory */ … … 1085 1086 assert(entry->svc == 0); 1086 1087 1088 ui = ui_window_get_ui(panel->window); 1089 1090 /* Free up and clean console for the child task. */ 1091 rc = ui_suspend(ui); 1092 if (rc != EOK) 1093 return rc; 1094 1087 1095 rc = task_spawnl(&id, &wait, entry->name, entry->name, NULL); 1088 1096 if (rc != EOK) 1089 return rc;1097 goto error; 1090 1098 1091 1099 rc = task_wait(&wait, &texit, &retval); 1092 1100 if ((rc != EOK) || (texit != TASK_EXIT_NORMAL)) 1101 goto error; 1102 1103 /* Resume UI operation */ 1104 rc = ui_resume(ui); 1105 if (rc != EOK) 1093 1106 return rc; 1094 1107 1095 1108 (void) ui_paint(ui_window_get_ui(panel->window)); 1096 1109 return EOK; 1110 error: 1111 (void) ui_resume(ui); 1112 (void) ui_paint(ui_window_get_ui(panel->window)); 1113 return rc; 1097 1114 } 1098 1115
Note:
See TracChangeset
for help on using the changeset viewer.