--- install-info.c.orig 2021-01-29 13:36:27.000000000 +0100 +++ install-info.c 2021-01-29 13:36:57.531524504 +0100 @@ -876,13 +876,13 @@ } else { -#if O_BINARY +/*#if O_BINARY*/ /* Since this is a text file, and we opened it in binary mode, switch back to text mode. */ - f = freopen (*opened_filename, "r", f); + f = freopen (*opened_filename, "r", stdin); if (! f) return 0; -#endif +/*#endif*/ } return f;