mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 00:23:25 +00:00
Fixed PTYs on Solaris
This commit is contained in:
parent
e0c669028d
commit
6340127060
4 changed files with 85 additions and 55 deletions
5
sycls.c
5
sycls.c
|
@ -677,7 +677,10 @@ int Ioctl(int d, int request, void *argp) {
|
|||
_errno = errno;
|
||||
if (!diag_in_handler) diag_flush();
|
||||
#if WITH_SYCLS
|
||||
Debug1("ioctl() -> %d", retval);
|
||||
if (retval < 0)
|
||||
Debug2("ioctl() -> %d, errno=%d", retval, _errno);
|
||||
else
|
||||
Debug1("ioctl() -> %d", retval);
|
||||
#endif /* WITH_SYCLS */
|
||||
errno = _errno;
|
||||
return retval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue