[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re[2]: Corrupt files when quickly committing...

From: <jason_at_subversus.org>
Date: 2006-06-30 19:12:52 CEST

No, I meant a flag. ;-) CreateFile accepts a flag that tells it to not
store data in the OS cache. I just don't recall what the name of the flag
is.

I believe you can also use FlushFileBuffers against a CreateFile file handle
which will not only flush the buffers, but also the file metadata.

-----Original Message-----
From: Fernando P. Nájera Cano [mailto:tortoisesvn@fernandonajera.com]
Sent: Friday, June 30, 2006 12:53 PM
To: jason@subversus.org
Subject: Re[2]: Corrupt files when quickly committing...

Estimado jason,

Con fecha viernes, 30 de junio de 2006, 1:21:44, escribió:

jso> The reason I asked was because it sounds like the operating system
jso> may be buffering the file output. Because of this, you can
jso> sometimes get some odd results. I believe that you can force
jso> semi-asynchronous behavior through the use of flags to force the
jso> files to be written to the hard drive (I don't recall the flag name(s)
off the top of my head).

Like C fflush()? Although it is not a flag but a function...

Best regards,

Fernando Najera

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jun 30 19:14:49 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.