[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] Re: Destination directory patch
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-cpio] Re: Destination directory patch |
Date: |
Fri, 23 Jul 2010 16:07:44 +0300 |
P J P <address@hidden> ha escrit:
> - checking `change_directory_option' makes no difference here.
No, it does. When it is not set, cpio operates the way it did before.
> fact if change_directory_option is NULL, and directory_name[0] !=
> '/', then this will fail, because directory_name is not an
> absolute path.
It is not required to be absolute.
> In either case, output_name.ds_string starts with the directory_name,
> which could be different from change_directory_option, because in
> src/main.c directory_name = argv[index]
Yes, it is intended.
> Also change_dir() could create problems if the input file paths are
> relative to the current directory.
That's the question of creating proper file lists. It is not not
related to cpio proper.
Regards,
Sergey
Re: [Bug-cpio] Re: Destination directory patch, Sergey Poznyakoff, 2010/07/23