Changeset 73060801 in mainline for uspace/app/sbi/src/os/helenos.c
- Timestamp:
- 2010-04-04T22:02:11Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3aae4e8, ecb6ac32
- Parents:
- ee7e82a9 (diff), 5db9084 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/os/helenos.c
ree7e82a9 r73060801 105 105 { 106 106 char *line; 107 int rc; 107 108 108 109 if (tinput == NULL) { … … 112 113 } 113 114 114 line = tinput_read(tinput); 115 if (line == NULL) 115 rc = tinput_read(tinput, &line); 116 if (rc == ENOENT) { 117 /* User-requested abort */ 118 *ptr = os_str_dup(""); 119 return EOK; 120 } 121 122 if (rc != EOK) { 123 /* Error in communication with console */ 116 124 return EIO; 125 } 117 126 118 127 /* XXX Input module needs trailing newline to keep going. */
Note:
See TracChangeset
for help on using the changeset viewer.