mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 22:53:24 +00:00
AIX: Fixed runtime issues
This commit is contained in:
parent
967e2b24b5
commit
e1a2e37480
4 changed files with 20 additions and 12 deletions
|
@ -89,7 +89,7 @@ static int xioopen_gopen(int argc, const char *argv[], struct opt *opts, int xio
|
|||
if ((result = _xioopen_open(filename, openflags, opts)) < 0)
|
||||
return result;
|
||||
#ifdef I_PUSH
|
||||
if (S_ISCHR(st_mode)) {
|
||||
if (S_ISCHR(st_mode) && Ioctl(result, I_FIND, "ldterm\0") == 0) {
|
||||
Ioctl(result, I_PUSH, "ptem\0\0\0"); /* pad string length ... */
|
||||
Ioctl(result, I_PUSH, "ldterm\0"); /* ... to requirements of ... */
|
||||
Ioctl(result, I_PUSH, "ttcompat"); /* ... AdressSanitizer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue