Re: [LFTP] [PATCH] "du" command and files > 2GB

"Alexander V. Lukyanov" <[email protected]>
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
On Wed, Jun 02, 2004 at 03:17:58PM +0200, Marc Bevand wrote:
> Hi Alexander, here is a patch that fixes the "du" command when it is 
> executed
> on a *directory* containing at least one file of more than 2GB.

Thanks! Patch applied.

>     /* add this file to the current dir */
> -   int add = fi->size;
> +   long long add = fi->size;

-- 
   Alexander.                      | software is knowlege
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.