On 09/29/2009 02:57 PM, Hans Leidekker wrote:
+ static char key[] = "System\\CurrentControlSet\\Control\\Session Manager"; + static char value[] = "PendingFileRenameOperations"; + + RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0, KEY_ALL_ACCESS,&hkey); + if (!RegQueryValueExA(hkey, value, NULL, NULL, NULL,&size)) + { + skip("Pending file rename operations, skipping test\n"); + return;
Hi Hans, (In response to this and the previous patch concerning pending renames). Win9x and WinMe act differently on pending renames (as usual :( ). Instead of using the registry some entries are written into %windir%\WinInit.ini. Is it worthwhile to have the tests cope with this or should we just skip them on Win9x/WinMe? -- Cheers, Paul.