Ignore:
Timestamp:
Jul 13, 2020, 8:07:55 PM (4 years ago)
Author:
coas-nagasima
Message:

ntshellアプリはnewlibを使うよう変更し、syscallの実装部分と区別がつくよう更新。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/ntshell/src/tSIOPortNTShellMain.c

    r441 r442  
    4646#include <t_syslog.h>
    4747#include <errno.h>
    48 #include <termios.h>
    49 #include <unistd.h>
    50 #include <fcntl.h>
    5148#include "tSIOPortNTShellMain_tecsgen.h"
    5249#include "syssvc/siofd.h"
    5350 
    54 extern int shell_errno;
     51#undef errno
     52extern int errno;
    5553
    5654/*
     
    130128                }
    131129                else {
    132                         assert(n < 0 && shell_errno == EAGAIN);
     130                        assert(n < 0 && errno == EAGAIN);
    133131                        VAR_snd_flag = true;
    134132                        VAR_snd_buf = c;
     
    159157        }
    160158        else {
    161                 assert(n < 0 && shell_errno == EAGAIN);
     159                assert(n < 0 && errno == EAGAIN);
    162160                return(-1);
    163161        }
Note: See TracChangeset for help on using the changeset viewer.