You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context, found this while updating the Haiku port/package for hstr (still on 2.6 there). There, we mostly need to add || defined(__HAIKU__) on the same lines with WSL, CYGWIN to avoid TIOCSTI stuff, and next to FreeBSD (for the ncurse.h includes in that case).
Will try to come up with cleaner patches, to see if those can be upstreamed, but would be nice to see an official way for this missing "TIOCSTI guard".
Even if now most of the code has guards like in:
https://github.com/dvorka/hstr/blob/4dca4c72d7db104b2c1043551d0d8dc611e0e260/src/hstr_utils.c#146
There's still one spot where the usage of TIOCSTI is not guarded:
hstr/src/hstr_utils.c
Line 170 in 4dca4c7
For context, found this while updating the Haiku port/package for hstr (still on 2.6 there). There, we mostly need to add
|| defined(__HAIKU__)
on the same lines with WSL, CYGWIN to avoid TIOCSTI stuff, and next to FreeBSD (for the ncurse.h includes in that case).Will try to come up with cleaner patches, to see if those can be upstreamed, but would be nice to see an official way for this missing "TIOCSTI guard".
Thanks for your work @dvorka!
The text was updated successfully, but these errors were encountered: