[Samba] Different behaviour of samba share in XP and Windows
Gerald (Jerry) Carter
jerry at samba.org
Thu Mar 24 14:38:09 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Kiran VM wrote:
| I have an MFC program that access a file in the samba (3.0.10) share
| with the following code.
| CString strSearchPath = _T("\\\\TestServer\\TestShare\\tempfile.txt");
| CStdioFile fValueFile;
| if( !fValueFile.Open(strSearchPath,CFile::modeReadWrite ) )
| //CloseHandle( (HANDLE)fValueFile.m_hFile );
| If i run this code on a Windows 2003 server, it leaves one HANDLE
| open. but if i try this operation from a windows XP ( with SP2)
| machine, every thing is fine.
| Also this leak seems to happen only for a samba share. If the
| "strSearchPath" is replaced with a Windows share, there is no leak.
Could you retest against 3.0.13 and let me know if this is still
an issue ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba