util.c error in last release

Daniel Atallah daniel.atallah at gmail.com
Thu Nov 8 19:09:32 EST 2007


On Nov 8, 2007 6:54 PM, Ethan Blanton <elb at pidgin.im> wrote:
> Andrea Visinoni spake unto us the following wisdom:
> > Sorry, i'm compiling for win32 under linux.
> > I've solved the problem with this:
>
> > +#define fsync _commit
> > +
>
> Is _commit (or commit) documented somewhere?  We would at the very
> least have to guard it in some fashion.  Perhaps one of the win32
> developers can weigh in here...
>

I'll take care of this.
According to the MSDN docs
(http://msdn2.microsoft.com/en-us/library/17618685(VS.80).aspx) ,
_commit() may be the appropriate thing to use here.  I want to do some
testing to see if we can use fileno() on windows too.

-D




More information about the Devel mailing list