Accepting request 489623 from home:kstreitova:branches:Base:System
- remove tar-1.26-remove_O_NONBLOCK.patch file OBS-URL: https://build.opensuse.org/request/show/489623 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=81
This commit is contained in:
parent
7d385ee2be
commit
2a37f6b620
@ -1,21 +0,0 @@
|
||||
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;
|
Loading…
Reference in New Issue
Block a user