From:
[email protected]
Package: tar
Version: 1.14-2
Tags: patch
The -o option should be the same as --no-same-owner when extracting an
archive. However, it actually triggers the --same-owner behavior.
Specifying the long options works as expected.
The following patch matches the value set by the long_options struct,
also in tar.c.
diff -Nru tar-1.14-orig/src/tar.c tar-1.14/src/tar.c
--- tar-1.14-orig/src/tar.c 2004-05-10 07:49:19.000000000 -0400
+++ tar-1.14/src/tar.c 2004-08-15 20:00:22.000000000 -0400
@@ -1280,7 +1280,7 @@
else
{
/* UNIX98 compatibility */
- same_owner_option = 1;
+ same_owner_option = -1;
}
}
--
Nicholas Breen
[email protected]
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)