mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-15 07:15:38 +00:00
update
This commit is contained in:
parent
daddfa6789
commit
1c773d745a
5 changed files with 10 additions and 9 deletions
Binary file not shown.
|
|
@ -97,9 +97,9 @@ int ram_libgloss_write(int file, const char *ptr, int len) {
|
|||
//----- ram_libgloss_open()
|
||||
int ram_libgloss_open(char *file, int flags, int mode) {
|
||||
// file->_p
|
||||
int result = rtl_strcmp(file, "/stdin");
|
||||
int result;
|
||||
|
||||
if (result) {
|
||||
if (rtl_strcmp(file, "/stdin")) {
|
||||
if (rtl_strcmp(file, "/stdout")) {
|
||||
if (rtl_strcmp(file, "/stderr"))
|
||||
result = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue