[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Implementation of fsync for Windows
From: |
Bruno Haible |
Subject: |
Re: [PATCH] Implementation of fsync for Windows |
Date: |
Thu, 2 Oct 2008 00:51:13 +0200 |
User-agent: |
KMail/1.5.4 |
Richard W.M. Jones wrote:
> This patch implements fsync for Windows.
Nice and quite well done. Bravo for having understood the many idioms used
in gnulib.
Just two minor comments:
- The phrase "cross-compilers like MinGW" is misleading.
MinGW is is often used natively, not cross-compiled. There are three
ways to use MinGW natively:
- using MSYS as development environment,
- using Cygwin as development environment, with the right CPPFLAGS
and LDFLAGS,
- on Linux, with a kernel configuration that will make .exe files
run through 'wine', and with gcc configured as a cross-compiler.
Also mingw is more than a compiler: it's a set of libraries, include files
and compiler.
- The code can be a little streamlined by removing the 'err' variable:
switch (GetLastError ())
...
Bruno
- Re: [PATCH] Implementation of fsync for Windows, (continued)
- Re: [PATCH] Implementation of fsync for Windows, Richard W.M. Jones, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Jim Meyering, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Eric Blake, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Jim Meyering, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Bruno Haible, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Jim Meyering, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Jim Meyering, 2008/10/01
- Re: [PATCH] Implementation of fsync for Windows, Richard W.M. Jones, 2008/10/01
Re: [PATCH] Implementation of fsync for Windows, Richard W.M. Jones, 2008/10/01
Re: [PATCH] Implementation of fsync for Windows,
Bruno Haible <=