Cai Xianchao 写道:
> hi,
>
> The file TODO described a bug of cp (package:coreutils-6.9):
> "cp --recursive: perform dir traversals in source and dest hierarchy
> rather than forming full file names. The latter (current) approach
> fails unnecessarily when the names become very long."
>
> We find that if the length of file name is not shorter than PATH_MAX,
> it will fail.
>
> Now, we have solved the problem by using the *at functions which were
> added to linux in kernel 2.6.16. If the kernel is older than 2.6.16,
> cp will run the same as before.
>
> The attachment is the patch.
>
> Signed-off-by: Cai Xianchao <[EMAIL PROTECTED]>
> Signed-off-by: Wen Congyang <[EMAIL PROTECTED]>
> Signed-off-by: Bian Naimeng <[EMAIL PROTECTED]>
> Signed-off-by: Zhou Mingying <[EMAIL PROTECTED]>
>
>
Hmm, the patch can't be applied, you should rebase your patch against
the newest development tree.
Li Zefan
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils