[7/7] cmd: Quiet a noisy 'FOR /F' fixme

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Aug 25 16:08:36 CDT 2011


---
 programs/cmd/builtins.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 99c4c3a..5d7df82 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -944,7 +944,10 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
                  only care about it if it is the path/options              */
               if (*curPos && *curPos != '/' && *curPos != '%') {
                   if (isRecursive) WINE_FIXME("/R needs to handle supplied root\n");
-                  else WINE_FIXME("/F needs to handle options\n");
+                  else {
+                      static unsigned int once;
+                      if (!once++) WINE_FIXME("/F needs to handle options\n");
+                  }
               }
               break;
           }
-- 
1.7.6




More information about the wine-patches mailing list