Re: About WritePrivateProfileString and file operations

2007-08-16 Thread James Keane
I think there is a problem with the check_sharing function in server/fd.c. At the end of the function when it is checking existing_access with the sharing variable it doesn't seem to care about what the caller is requesting. I think this is what is causing problems with the CreateFile call, becau

Re: About WritePrivateProfileString and file operations

2007-08-16 Thread Louis Lenders
Zhongli Xu gmail.com> writes: > > Hi all,I run some tests about mixed using WritePrivateProfileString and stand file operationsCodes look like this:GetPrivateProfileString(keyname, value);fopen();fprintf("# comments"); > fclose();WritePrivateProfileString(keyname, newvalue);What I found in the f

About WritePrivateProfileString and file operations

2007-08-16 Thread Zhongli Xu
Hi all, I run some tests about mixed using WritePrivateProfileString and stand file operations Codes look like this: GetPrivateProfileString(keyname, value); fopen(); fprintf("# comments"); fclose(); WritePrivateProfileString(keyname, newvalue); What I found in the file is that either WritePriv