Changes in uspace/app/getterm/getterm.c [884c56b:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/getterm/getterm.c
r884c56b r9d58539 112 112 reopen(&stderr, 2, term, O_WRONLY, "w"); 113 113 114 /* 115 * FIXME: fdopen() should actually detect that we are opening a console 116 * and it should set line-buffering mode automatically. 117 */ 118 setvbuf(stdout, NULL, _IOLBF, BUFSIZ); 119 114 120 if (stdin == NULL) 115 121 return -2; … … 120 126 if (stderr == NULL) 121 127 return -4; 122 123 /*124 * FIXME: fdopen() should actually detect that we are opening a console125 * and it should set line-buffering mode automatically.126 */127 setvbuf(stdout, NULL, _IOLBF, BUFSIZ);128 128 129 129 version_print(term);
Note:
See TracChangeset
for help on using the changeset viewer.