state = -1;
}
} else {
- fs_file_putc(h, *str);
+ fs_file_write(str, 1, 1, stdout);
length ++;
}
str++;
con_enablecolor();
} else if (!(console.handle_err = fs_file_open(err, "w"))) return 0;
- /* no buffering */
- setvbuf(console.handle_out, NULL, _IONBF, 0);
- setvbuf(console.handle_err, NULL, _IONBF, 0);
-
return 1;
}