Title: [147836] trunk/Source/_javascript_Core
Revision
147836
Author
par...@webkit.org
Date
2013-04-06 02:54:03 -0700 (Sat, 06 Apr 2013)

Log Message

Do not call getenv() on Windows CE where it does not exist.

* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (147835 => 147836)


--- trunk/Source/_javascript_Core/ChangeLog	2013-04-06 09:31:25 UTC (rev 147835)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-04-06 09:54:03 UTC (rev 147836)
@@ -1,3 +1,10 @@
+2013-04-06  Patrick Gansterer  <par...@webkit.org>
+
+        Do not call getenv() on Windows CE where it does not exist.
+
+        * runtime/JSGlobalData.cpp:
+        (JSC::JSGlobalData::JSGlobalData):
+
 2013-04-05  Benjamin Poulain  <benja...@webkit.org>
 
         Second attempt to fix the Windows bot

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp (147835 => 147836)


--- trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp	2013-04-06 09:31:25 UTC (rev 147835)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp	2013-04-06 09:54:03 UTC (rev 147836)
@@ -253,9 +253,11 @@
         m_perBytecodeProfiler = adoptPtr(new Profiler::Database(*this));
 
         StringPrintStream pathOut;
+#if !OS(WINCE)
         const char* profilerPath = getenv("JSC_PROFILER_PATH");
         if (profilerPath)
             pathOut.print(profilerPath, "/");
+#endif
         pathOut.print("JSCProfile-", getCurrentProcessID(), "-", m_perBytecodeProfiler->databaseID(), ".json");
         m_perBytecodeProfiler->registerToSaveAtExit(pathOut.toCString().data());
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to