From: Johan Hedberg <johan.hedberg@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/3] Add support for stat files bigger than 2GB on 32-bit systems
Date: Wed, 8 Dec 2010 17:15:58 +0200 [thread overview]
Message-ID: <20101208151558.GA31117@jh-x301> (raw)
In-Reply-To: <1291821222-18990-1-git-send-email-luiz.dentz@gmail.com>
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
prev parent reply other threads:[~2010-12-08 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 15:13 [PATCH 1/3] Add support for stat files bigger than 2GB on 32-bit systems Luiz Augusto von Dentz
2010-12-08 15:15 ` Johan Hedberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101208151558.GA31117@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox