[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `cp --preserve=mode,timestamps ...' fails
From: |
Jim Meyering |
Subject: |
Re: `cp --preserve=mode,timestamps ...' fails |
Date: |
Fri, 13 Dec 2002 10:06:37 +0100 |
> I have found a slight bug in coreutils 4.5.3's `cp' command,
> which will not recognize multiple arguments for one `--preserve'
> option.
>
> % ./cp --version
> cp (coreutils) 4.5.3
> [...]
> % echo hello >file1
> % ./cp --preserve=mode,timestamps file1 file2
> ./cp: ambiguous argument `' for `--preserve'
...
>
> The following patch will correct this problem.
>
> 2002-12-11 TAKAI Kousuke <address@hidden>
>
> * src/cp.c (decode_preserve_arg): Advance `comma' to
> point the character next to the comma.
Thank you for the fine bug report and fix!
I've applied your patch.