[Webkit-unassigned] [Bug 15813] Incorrect handling of findstr results in *.vcproj

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 10 16:29:25 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=15813





------- Comment #8 from hnakamur at gmail.com  2007-11-10 16:29 PDT -------
(From update of attachment 17014)
Index: WebKit/win/WebKit.vcproj/WebKit.vcproj
===================================================================
--- WebKit/win/WebKit.vcproj/WebKit.vcproj      (revision 27388)
+++ WebKit/win/WebKit.vcproj/WebKit.vcproj      (working copy)
@@ -25,7 +25,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;&#x0D;&#x0A;mkdir
2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;&#x0D;&#x0A;mkdir 2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
@@ -119,7 +119,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;&#x0D;&#x0A;mkdir
2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;&#x0D;&#x0A;mkdir 2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
@@ -211,7 +211,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;&#x0D;&#x0A;mkdir
2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;&#x0D;&#x0A;mkdir 2>NUL
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;xcopy
/y /d "$(WebKitLibrariesDir)\include\JavaScriptCore\JavaScriptCore\*"
"$(WebKitOutputDir)\include\JavaScriptCore\JavaScriptCore"&#x0D;&#x0A;&#x0D;&#x0A;bash
auto-version.sh "$(InputDir)."
"$(IntDir)"&#x0D;&#x0A;&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
Index: WebCore/WebCore.vcproj/WebCore.vcproj
===================================================================
--- WebCore/WebCore.vcproj/WebCore.vcproj       (revision 27388)
+++ WebCore/WebCore.vcproj/WebCore.vcproj       (working copy)
@@ -26,7 +26,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;bash
build-generated-files.sh "$(WebKitOutputDir)"
"$(WebKitLibrariesDir)"&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;bash build-generated-files.sh
"$(WebKitOutputDir)" "$(WebKitLibrariesDir)"&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
@@ -101,7 +101,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;bash
build-generated-files.sh "$(WebKitOutputDir)"
"$(WebKitLibrariesDir)"&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;bash build-generated-files.sh
"$(WebKitOutputDir)" "$(WebKitLibrariesDir)"&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
@@ -172,7 +172,7 @@
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
-                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 0 set EnablePREfast="false" else set
EnablePREfast="true"&#x0D;&#x0A;if ERRORLEVEL 0 set
AnalyzeWithLargeStack=""
AnalyzeWithLargeStack="/analyze:65536"&#x0D;&#x0A;bash
build-generated-files.sh "$(WebKitOutputDir)"
"$(WebKitLibrariesDir)"&#x0D;&#x0A;"
+                               CommandLine="set
PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;touch
"$(WebKitOutputDir)\tmp.cpp"&#x0D;&#x0A;cl /analyze /nologo /c
"$(WebKitOutputDir)\tmp.cpp" 2>&1 | findstr
D9040&#x0D;&#x0A;if ERRORLEVEL 1 (set EnablePREfast="true") else set
EnablePREfast="false"&#x0D;&#x0A;if ERRORLEVEL 1 (set
AnalyzeWithLargeStack="/analyze:65536") else set
AnalyzeWithLargeStack=""&#x0D;&#x0A;bash build-generated-files.sh
"$(WebKitOutputDir)" "$(WebKitLibrariesDir)"&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list