diff options
Diffstat (limited to 'source/a/sharutils/sharutils.glibc228.diff')
-rw-r--r-- | source/a/sharutils/sharutils.glibc228.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/a/sharutils/sharutils.glibc228.diff b/source/a/sharutils/sharutils.glibc228.diff new file mode 100644 index 00000000..1f3a25d9 --- /dev/null +++ b/source/a/sharutils/sharutils.glibc228.diff @@ -0,0 +1,20 @@ +--- ./lib/fseeko.c.orig 2015-05-30 10:34:54.000000000 -0500 ++++ ./lib/fseeko.c 2018-09-18 19:01:59.959070461 -0500 +@@ -47,7 +47,7 @@ + #endif + + /* These tests are based on fpurge.c. */ +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + if (fp->_IO_read_end == fp->_IO_read_ptr + && fp->_IO_write_ptr == fp->_IO_write_base + && fp->_IO_save_base == NULL) +@@ -123,7 +123,7 @@ + return -1; + } + +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_flags &= ~_IO_EOF_SEEN; + fp->_offset = pos; + #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ |