Detlef Riekenberg : sfc: Print a FIXME only once.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 18 05:40:49 CDT 2006
Module: wine
Branch: master
Commit: 33bd852cd2715cdc9fc696aaaa62a22d5f3682ba
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=33bd852cd2715cdc9fc696aaaa62a22d5f3682ba
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Thu Aug 17 21:28:32 2006 +0200
sfc: Print a FIXME only once.
---
dlls/sfc/sfc_main.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/sfc/sfc_main.c b/dlls/sfc/sfc_main.c
index 69b46d6..6563365 100644
--- a/dlls/sfc/sfc_main.c
+++ b/dlls/sfc/sfc_main.c
@@ -52,7 +52,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(sfc);
*/
BOOL WINAPI SfcIsFileProtected(HANDLE RpcHandle, LPCWSTR ProtFileName)
{
- FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
+ static BOOL reported = FALSE;
+
+ if (reported) {
+ TRACE("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
+ }
+ else
+ {
+ FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
+ reported = TRUE;
+ }
+
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}
More information about the wine-cvs
mailing list