From: Anthony Liguori <anthony@codemonkey.ws>
To: G 3 <programmingkidx@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fixes a bug that tries to use the unimplemented function fdatasync on Mac OS X.
Date: Wed, 30 Sep 2009 14:16:39 -0500 [thread overview]
Message-ID: <4AC3AE97.3000400@codemonkey.ws> (raw)
In-Reply-To: <A428939A-2D4D-4F89-8C42-85AA500F3D6D@gmail.com>
G 3 wrote:
> This patch fixes a problem in the file cutils.c that prevents qemu
> from being built on Mac OS X. This patch makes sure fsync is used instead.
What is this against? It doesn't apply to git.
> Signed-off-by: John Arbuckle <programmingkidx@gmail.com
> <mailto:programmingkidx@gmail.com>>
>
> ---
> cutils.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cutils.c b/cutils.c
> index 7a22346..84eabf2 100644
> --- a/cutils.c
> +++ b/cutils.c
> @@ -124,7 +124,7 @@ int qemu_fls(int i)
> */
> int qemu_fdatasync(int fd)
> {
> -#ifdef _POSIX_SYNCHRONIZED_IO
> +#if ( defined(_POSIX_SYNCHRONIZED_IO) && !defined(__APPLE__) )
> return fdatasync(fd);
> #else
> return fsync(fd);
> --
> 1.6.4.2
>
next prev parent reply other threads:[~2009-09-30 19:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-20 0:58 [Qemu-devel] [PATCH] Fixes a bug that tries to use the unimplemented function fdatasync on Mac OS X G 3
2009-09-30 19:16 ` Anthony Liguori [this message]
2009-10-01 15:30 ` G 3
2009-10-01 16:13 ` Blue Swirl
2009-12-08 14:35 ` Pierre Riteau
2009-12-08 18:35 ` Blue Swirl
2009-12-08 21:02 ` Pierre Riteau
2009-12-08 23:01 ` Alexander Graf
2009-12-10 16:49 ` Pierre Riteau
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=4AC3AE97.3000400@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.