Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
40f0145d
Commit
40f0145d
authored
Mar 28, 2012
by
Bruno Jesus
Committed by
Alexandre Julliard
Mar 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Avoid ini cache if file does not exist anymore.
parent
a4e32688
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
profile.c
dlls/kernel32/profile.c
+1
-1
profile.c
dlls/kernel32/tests/profile.c
+1
-1
No files found.
dlls/kernel32/profile.c
View file @
40f0145d
...
...
@@ -817,10 +817,10 @@ static BOOL PROFILE_Open( LPCWSTR filename, BOOL write_access )
CurProfile
->
LastWriteTime
=
LastWriteTime
;
}
CloseHandle
(
hFile
);
return
TRUE
;
}
else
TRACE
(
"(%s): already opened, not yet created (mru=%d)
\n
"
,
debugstr_w
(
buffer
),
i
);
return
TRUE
;
}
}
...
...
dlls/kernel32/tests/profile.c
View file @
40f0145d
...
...
@@ -504,7 +504,7 @@ static void test_profile_refresh(void)
/* Cache must be invalidated if file no longer exists and default must be returned */
SetLastError
(
0xdeadbeef
);
res
=
GetPrivateProfileInt
(
SECTION
,
KEY
,
421
,
testfile
);
todo_wine
ok
(
res
==
421
||
ok
(
res
==
421
||
broken
(
res
==
0
&&
GetLastError
()
==
0xdeadbeef
),
/* Win9x, WinME */
"Got %d instead of 421
\n
"
,
res
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment