diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-06 17:40:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-06 17:40:11 +0100 |
commit | 0cd497af446f04f0b197f779ff407cf4cb43b7ce (patch) | |
tree | 11748252d032f5e5797c4f11c3d4ce6b98ffabd3 /package/coreutils/patches/patch-lib_fseeko_c | |
parent | 36f7c1031ee62f73830b67c805e2fce2656331b2 (diff) | |
parent | d2081213352e456f7596f22e0b37b682204c4cfe (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/coreutils/patches/patch-lib_fseeko_c')
-rw-r--r-- | package/coreutils/patches/patch-lib_fseeko_c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/coreutils/patches/patch-lib_fseeko_c b/package/coreutils/patches/patch-lib_fseeko_c new file mode 100644 index 000000000..9687be6b8 --- /dev/null +++ b/package/coreutils/patches/patch-lib_fseeko_c @@ -0,0 +1,15 @@ +--- coreutils-8.21.orig/lib/fseeko.c 2013-01-04 15:07:03.000000000 +0100 ++++ coreutils-8.21/lib/fseeko.c 2013-11-04 20:32:38.000000000 +0100 +@@ -99,6 +99,12 @@ fseeko (FILE *fp, off_t offset, int when + #elif defined EPLAN9 /* Plan9 */ + if (fp->rp == fp->buf + && fp->wp == fp->buf) ++#elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION ++ /* Cross-compiling to some other system advertising conformance to ++ POSIX.1-2008 or later. Assume fseeko and fflush work as advertised. ++ If this assumption is incorrect, please report the bug to ++ bug-gnulib. */ ++ if (0) + #else + #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib." + #endif |