diff -r 28839de615b4 -r 26645d81f48d persistentstorage/store/UFILE/UF_DICT.CPP --- a/persistentstorage/store/UFILE/UF_DICT.CPP Thu Aug 19 11:36:21 2010 +0300 +++ b/persistentstorage/store/UFILE/UF_DICT.CPP Tue Aug 31 16:57:14 2010 +0300 @@ -154,7 +154,7 @@ for (TInt wait=KLockoutLimit;;) { RFile file; - // When the file server write caching is enabled, the order of file write operations is not guaranteed. + // When the file server write caching is enabled, the order of file write operations is not guaranteed. // This could cause data inconsistency in some circumstances,for example, when the power is lost in the // middle of a database transaction.Therefore, the file write caching is disabled for this file to maintain integrity. @@ -179,11 +179,11 @@ } if (r==KErrCorrupt) { - // silently replace the entire file if it is corrupt - // When the file server write caching is enabled, the order of file write operations is not guaranteed. - // This could cause data inconsistency in some circumstances,for example, when the power is lost in the - // middle of a database transaction.Therefore, the file write caching is disabled for this file to maintain integrity. - + // silently replace the entire file if it is corrupt + // When the file server write caching is enabled, the order of file write operations is not guaranteed. + // This could cause data inconsistency in some circumstances,for example, when the power is lost in the + // middle of a database transaction.Therefore, the file write caching is disabled for this file to maintain integrity. + // r=file.Replace(aFs,aName,EFileShareExclusive|EFileWrite|EFileWriteDirectIO); if (r==KErrInUse) break; // try again later... @@ -205,10 +205,9 @@ return; } case KErrNotFound: - // When the file server write caching is enabled, the order of file write operations is not guaranteed. - // This could cause data inconsistency in some circumstances,for example, when the power is lost in the - // middle of a database transaction.Therefore, the file write caching is disabled for this file to maintain integrity. - + // When the file server write caching is enabled, the order of file write operations is not guaranteed. + // This could cause data inconsistency in some circumstances,for example, when the power is lost in the + // middle of a database transaction.Therefore, the file write caching is disabled for this file to maintain integrity. r=file.Create(aFs,aName,EFileShareExclusive|EFileWrite|EFileWriteDirectIO); if (r==KErrNone) {