logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

fseterr.patch (853B)


  1. SPDX-FileCopyrightText: 2020 Giovanni Mascellani <gio@debian.org>
  2. SPDX-License-Identifier: GPL-3.0-or-later
  3. commit b1127f6821cc9c40c5a9ee406bee7564c549d9a3
  4. Author: Giovanni Mascellani <gio@debian.org>
  5. Date: Thu Mar 26 18:02:01 2020 +0100
  6. Compile bison.
  7. diff --git lib/fseterr.c lib/fseterr.c
  8. index 8cd68e8..0ec7e2c 100644
  9. --- bison-3.4.1/lib/fseterr.c
  10. +++ bison-3.4.1/lib/fseterr.c
  11. @@ -53,7 +53,7 @@ fseterr (FILE *fp)
  12. #elif defined EPLAN9 /* Plan9 */
  13. if (fp->state != 0 /* CLOSED */)
  14. fp->state = 5 /* ERR */;
  15. -#elif 0 /* unknown */
  16. +#elif 1 /* unknown */
  17. /* Portable fallback, based on an idea by Rich Felker.
  18. Wow! 6 system calls for something that is just a bit operation!
  19. Not activated on any system, because there is no way to repair FP when