mirror of
https://repo.or.cz/socat.git
synced 2025-07-11 22:23:24 +00:00
merged socat did not compile on Solaris when configured with --disable-termios
This commit is contained in:
commit
674b0e608d
8 changed files with 34 additions and 8 deletions
2
filan.c
2
filan.c
|
@ -412,6 +412,7 @@ int devinfo(int fd) {
|
|||
int cdevan(int fd, FILE *outfile) {
|
||||
int ret;
|
||||
|
||||
#if _WITH_TERMIOS
|
||||
if ((ret = Isatty(fd)) < 0) {
|
||||
Warn2("isatty(%d): %s", fd, strerror(errno));
|
||||
return -1;
|
||||
|
@ -458,6 +459,7 @@ int cdevan(int fd, FILE *outfile) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* _WITH_TERMIOS */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue