Changeset 442 for EcnlProtoTool/trunk/ntshell/src/tSIOPortNTShellMain.c
- Timestamp:
- Jul 13, 2020, 8:07:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/src/tSIOPortNTShellMain.c
r441 r442 46 46 #include <t_syslog.h> 47 47 #include <errno.h> 48 #include <termios.h>49 #include <unistd.h>50 #include <fcntl.h>51 48 #include "tSIOPortNTShellMain_tecsgen.h" 52 49 #include "syssvc/siofd.h" 53 50 54 extern int shell_errno; 51 #undef errno 52 extern int errno; 55 53 56 54 /* … … 130 128 } 131 129 else { 132 assert(n < 0 && shell_errno == EAGAIN);130 assert(n < 0 && errno == EAGAIN); 133 131 VAR_snd_flag = true; 134 132 VAR_snd_buf = c; … … 159 157 } 160 158 else { 161 assert(n < 0 && shell_errno == EAGAIN);159 assert(n < 0 && errno == EAGAIN); 162 160 return(-1); 163 161 }
Note:
See TracChangeset
for help on using the changeset viewer.