patch-lib_fseeko_c 737 B

123456789101112131415
  1. --- coreutils-8.21.orig/lib/fseeko.c 2013-01-04 15:07:03.000000000 +0100
  2. +++ coreutils-8.21/lib/fseeko.c 2013-11-04 20:32:38.000000000 +0100
  3. @@ -99,6 +99,12 @@ fseeko (FILE *fp, off_t offset, int when
  4. #elif defined EPLAN9 /* Plan9 */
  5. if (fp->rp == fp->buf
  6. && fp->wp == fp->buf)
  7. +#elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION
  8. + /* Cross-compiling to some other system advertising conformance to
  9. + POSIX.1-2008 or later. Assume fseeko and fflush work as advertised.
  10. + If this assumption is incorrect, please report the bug to
  11. + bug-gnulib. */
  12. + if (0)
  13. #else
  14. #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib."
  15. #endif