[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] segfault getting cwd with --listed-incremental
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] segfault getting cwd with --listed-incremental |
Date: |
Thu, 15 Jul 2010 22:34:07 +0300 |
Paul Eggert <address@hidden> ha escrit:
> I haven't a clue. Let's remove that. I tried doing that in the patch
> enclosed below, which I installed. Sergey, can you please
> double-check this?
I quite agree with the patch to extract_dir. However, I don't agree
with the patch to normalize_filename_x. This function must produce an
absolute file name corresponding to the given relative one,
*without* taking into account any symbolic links, so that the
proposed patch simply breaks it. The function is not intended to
resolve symbolic links, quite on the contrary, it was introduced instead
of canonicalize_file_name which, by doing so, broke the
`--remove-file' functionality in some cases (see the commit message for
c1d3d134939d).
> Anyway, the patched version passes the tests so if there is
> some reason the path names have to be absolute, that should be tested
> for.
Agreed, the test suite should be more thorough.
Regards,
Sergey
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Paul Eggert, 2010/07/15
- Re: [Bug-tar] segfault getting cwd with --listed-incremental,
Sergey Poznyakoff <=
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Paul Eggert, 2010/07/15
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Sergey Poznyakoff, 2010/07/16
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Paul Eggert, 2010/07/16
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Sergey Poznyakoff, 2010/07/17
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Joerg Schilling, 2010/07/19
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Paul Eggert, 2010/07/19
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Joerg Schilling, 2010/07/19
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Paul Eggert, 2010/07/16
- Re: [Bug-tar] segfault getting cwd with --listed-incremental, Sergey Poznyakoff, 2010/07/17