Sergey Poznyakoff
7a5a3708cb
Fix --keep-old-files option.
...
The regression was introduced by 8f390db9 . This patch implements additional
option --skip-old-files, which silently skips members which would cause
writing over existing files, and restores --keep-old-files to its traditional
behavior.
* NEWS: Update.
* configure.ac: Update.
* doc/tar.texi: Document the changes.
* src/common.h (SKIP_OLD_FILES): New old_files mode.
* src/extract.c (maybe_recoverable): Restore KEEP_OLD_FILES behavior.
Handle SKIP_OLD_FILES.
* src/tar.c: New option --skip-old-files.
* tests/extrac18.at: New file.
* tests/extrac19.at: New file.
* tests/Makefile.am: Add new test cases.
* tests/testsuite.at: Likewise.
2011-11-26 15:50:40 +02:00
..
2010-08-19 15:50:07 -07:00
2009-03-07 16:30:44 +02:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-10-27 14:07:46 +03:00
2007-06-27 13:30:12 +00:00
2010-08-19 15:50:07 -07:00
2010-11-08 11:13:39 -08:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2007-06-27 13:30:12 +00:00
2007-06-27 13:30:12 +00:00
2010-08-19 15:50:07 -07:00
2007-06-27 13:30:12 +00:00
2008-06-26 06:32:25 +00:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2009-08-12 19:25:29 +03:00
2010-03-02 18:39:40 +02:00
2010-10-15 21:53:37 -07:00
2011-07-30 18:26:38 +03:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2007-06-27 13:30:12 +00:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2010-08-26 10:23:06 -07:00
2010-10-15 21:53:37 -07:00
2010-08-26 10:23:06 -07:00
2010-08-25 17:09:59 -07:00
2010-10-27 20:25:56 -07:00
2010-09-17 12:28:25 -07:00
2010-10-26 18:13:03 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 22:26:43 -07:00
2010-10-25 20:21:06 -07:00
2010-11-02 01:05:16 -07:00
2011-11-26 15:50:40 +02:00
2011-11-26 15:50:40 +02:00
2010-08-19 15:50:07 -07:00
2010-09-06 13:39:21 -07:00
2009-08-08 19:53:54 +03:00
2010-04-01 00:03:51 +03:00
2008-06-26 06:32:25 +00:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2009-08-07 14:52:55 +03:00
2009-08-13 16:45:49 +03:00
2010-08-19 15:50:07 -07:00
2008-07-31 07:12:50 +00:00
2007-06-27 13:30:12 +00:00
2010-01-24 15:52:22 +02:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-24 08:18:37 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-26 10:23:06 -07:00
2010-11-22 17:59:21 -08:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2008-06-26 06:32:25 +00:00
2008-06-26 06:32:25 +00:00
2007-06-27 13:30:12 +00:00
2011-11-26 15:50:40 +02:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2007-06-27 13:30:12 +00:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2007-06-27 13:30:12 +00:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2011-08-13 10:20:40 -07:00
2010-10-15 21:53:37 -07:00
2007-06-27 13:30:12 +00:00
2010-11-26 19:36:05 -08:00
2009-10-14 17:55:15 +03:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2009-05-25 10:18:59 +03:00
2010-08-19 15:50:07 -07:00
2010-11-26 19:36:05 -08:00
2010-10-15 21:53:37 -07:00
2010-08-19 15:50:07 -07:00
2007-06-27 13:30:12 +00:00
2011-03-12 22:22:21 +02:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-07-11 22:57:17 +03:00
2007-06-27 13:30:12 +00:00
2010-07-11 22:57:17 +03:00
2007-06-27 13:30:12 +00:00
2007-10-04 07:16:39 +00:00
2011-11-26 15:50:40 +02:00
2010-12-06 14:27:29 -08:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2009-10-14 23:26:52 +03:00
2007-06-27 13:30:12 +00:00
2010-11-15 00:08:27 -08:00
2007-06-27 13:30:12 +00:00
2010-08-19 15:50:07 -07:00
2010-08-19 15:50:07 -07:00
2010-08-25 10:54:45 +03:00
2010-08-25 10:54:45 +03:00