fix case where BOM is asked for, and fix case where file with BOM is

consulted, not just read. Also fix some deadlocks when protecting
file access.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2066 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2008-01-28 12:47:45 +00:00
parent 456b4eb6c1
commit fc2d89a372
4 changed files with 68 additions and 51 deletions

View File

@@ -3810,7 +3810,7 @@ p_total_erased(void)
/* only for log upds */
while (cl) {
cls++;
fprintf(stderr,"cl=%p, %x %d\n",cl,cl->ClFlags,cl->ClRefCount);
fprintf(stderr,"cl=%p, %lx %lu\n",cl,(unsigned long int)cl->ClFlags,(unsigned long int)cl->ClRefCount);
sz += cl->ClSize;
cl = cl->ClNext;
}