Hello community, here is the log from the commit of package tar for openSUSE:11.4 checked in at Tue Jan 3 01:25:24 CET 2012.
-------- --- old-versions/11.4/UPDATES/all/tar/tar.changes 2011-03-28 16:50:13.000000000 +0200 +++ 11.4/tar/tar.changes 2012-01-02 13:43:43.000000000 +0100 @@ -1,0 +2,9 @@ +Mon Dec 19 13:43:45 UTC 2011 - [email protected] + +- tar-1.26-remove_O_NONBLOCK.patch: + don't use O_NONBLOCK as a flag for read, + when file is offline, read with O_NONBLOCK returns EAGAIN, + but tar doesn't handle it + (bnc#737331) + +------------------------------------------------------------------- @@ -394 +403 @@ -- Fix detection of remote paths [#38709]. Thanks J�rgen! +- Fix detection of remote paths [#38709]. Thanks J?rgen! calling whatdependson for 11.4-i586 New: ---- tar-1.26-remove_O_NONBLOCK.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tar.spec ++++++ --- /var/tmp/diff_new_pack.nUR1Nv/_old 2012-01-03 01:24:23.000000000 +0100 +++ /var/tmp/diff_new_pack.nUR1Nv/_new 2012-01-03 01:24:23.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package tar # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ Name: tar Version: 1.26 -Release: 1.<RELEASE2> +Release: 1.<RELEASE5> License: GPLv3+ Summary: GNU implementation of tar ((t)ape (ar)chiver) Url: http://www.gnu.org/software/tar/ @@ -32,6 +32,7 @@ Patch3: tar-wildcards.patch Patch5: tar-fortifysourcessigabrt.patch Patch6: tar-backup-spec-fix-paths.patch +Patch7: tar-1.26-remove_O_NONBLOCK.patch BuildRequires: help2man PreReq: %install_info_prereq Recommends: tar-lang = %version @@ -66,6 +67,7 @@ %patch3 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build rm -f po/no.* po/ky.* ++++++ tar-1.26-remove_O_NONBLOCK.patch ++++++ Index: tar-1.26/src/tar.c =================================================================== --- tar-1.26.orig/src/tar.c +++ tar-1.26/src/tar.c @@ -2467,10 +2467,14 @@ decode_options (int argc, char **argv) /* Flags for accessing files to be read from or copied into. POSIX says O_NONBLOCK has unspecified effect on most types of files, but in - practice it never harms and sometimes helps. */ + practice it never harms and sometimes helps. + + It seems in fact that in practice it never helps and sometimes harms. + Removing again. + */ { int base_open_flags = - (O_BINARY | O_CLOEXEC | O_NOCTTY | O_NONBLOCK + (O_BINARY | O_CLOEXEC | O_NOCTTY | (dereference_option ? 0 : O_NOFOLLOW) | (atime_preserve_option == system_atime_preserve ? O_NOATIME : 0)); open_read_flags = O_RDONLY | base_open_flags; continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
