[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]cp --recursive fails unnecessarily when the names of the latt

From: Li Zefan
Subject: Re: [PATCH]cp --recursive fails unnecessarily when the names of the latter approach become very long
Date: Wed, 05 Dec 2007 16:58:29 +0800
User-agent: Thunderbird (X11/20070419)

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 <address@hidden>
> Signed-off-by: Wen Congyang <address@hidden>
> Signed-off-by: Bian Naimeng <address@hidden>
> Signed-off-by: Zhou Mingying <address@hidden>

Hmm, the patch can't be applied, you should rebase your patch against
the newest development tree.

        Li Zefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]