Re: [PATCH 1/3] Add support for stat files bigger than 2GB on 32-bit systems

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

 



Hi Luiz,

On Wed, Dec 08, 2010, Luiz Augusto von Dentz wrote:
> From stat documentation:
> 
> "(stat())  path  refers to a file whose size cannot be represented in the
> type off_t.  This can occur when an application compiled on a 32-bit
> platform without -D_FILE_OFFSET_BITS=64 calls stat() on a file whose size
> exceeds (2<<31)-1 bits."
> 
> To fix this now size header is omitted when the file is over 32-bit, but
> it is able to transfer it by using 64-bit variables. In addition to that
> folder-listing now should report such big sizes properly.
> ---
>  acinclude.m4         |    2 +-
>  client/transfer.c    |    5 +++--
>  plugins/filesystem.c |    7 ++++---
>  src/obex-priv.h      |    6 +++---
>  src/obex.c           |    7 ++++---
>  5 files changed, 15 insertions(+), 12 deletions(-)

Thanks. The patch has been pushed upstream.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux