2006-06-19 Anders Carlsson <acarlsson@apple.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jun 2006 19:23:18 +0000 (19:23 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jun 2006 19:23:18 +0000 (19:23 +0000)
        Reviewed by John.

        * kjs/interpreter.cpp:
        (KJS::TimeoutChecker::pauseTimeoutCheck):
        (KJS::TimeoutChecker::resumeTimeoutCheck):
        Fix argument order in setitimer calls.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14913 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/interpreter.cpp

index d8921e632f7e63328406922fdbd2774f289fd7b1..8fc4826905fd5279ccbaab8cf2759d06dc046529 100644 (file)
@@ -1,3 +1,12 @@
+2006-06-19  Anders Carlsson  <acarlsson@apple.com>
+
+        Reviewed by John.
+
+        * kjs/interpreter.cpp:
+        (KJS::TimeoutChecker::pauseTimeoutCheck):
+        (KJS::TimeoutChecker::resumeTimeoutCheck):
+        Fix argument order in setitimer calls.
+
 2006-06-18  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Geoff.
index 7f091b88ffa9d8f908db8b9765ef85274588ecc3..97d1bf9834aeff8334b92aa0cc03dd2fe885bf1d 100644 (file)
@@ -158,7 +158,7 @@ void TimeoutChecker::pauseTimeoutCheck(Interpreter* interpreter)
         return;
     }
 
-    setitimer(ITIMER_REAL, &m_pausetv, 0L);
+    setitimer(ITIMER_REAL, 0L, &m_pausetv);
 #endif
 
     interpreter->m_pauseTimeoutCheckCount++;
@@ -189,7 +189,7 @@ void TimeoutChecker::resumeTimeoutCheck(Interpreter* interpreter)
         return;
     }
 
-    setitimer(ITIMER_REAL, 0L, &m_pausetv);    
+    setitimer(ITIMER_REAL, &m_pausetv, 0L);
 
     // Unblock signal
     currentSignalHandler = signal(SIGALRM, alarmHandler);