Damien Zammit, le dim. 24 janv. 2021 12:26:35 +1100, a ecrit: > On 24/1/21 12:18 pm, Samuel Thibault wrote: > > I'm starting to think that perhaps we should as well just comment the > > #define TIOCFLUSH from the headers, since there are so many bogus > > callers of the interface. > > I think we still need to pass -DPOSIX to vim CFLAGS for hurd, > otherwise it will not call any flush function if you remove the #define.
Ok, but AIUI it doesn't do any such flush on Linux either? If so we want to get the same fix applied for the Linux case. Otherwise we'll again use a different codepath than Linux, and thus be affected by bugs that Linux doesn't get only by "mis"-luck. Samuel