]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix stupid copy-n-paste bug in do_set_canceltype causing strange stack
authorJulian Seward <jseward@acm.org>
Wed, 29 May 2002 23:30:28 +0000 (23:30 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 29 May 2002 23:30:28 +0000 (23:30 +0000)
drift problems.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@338

coregrind/vg_scheduler.c
vg_scheduler.c

index 3750398471b89771e046c26046987a2e7be1d831..9db5021e693b6ccbf102003aa10100541c8b730c 100644 (file)
@@ -1848,7 +1848,7 @@ void do__set_canceltype ( ThreadId tid, Int type )
       VG_(threads)[tid].cancel_ty = False;
    } else
    if (type == PTHREAD_CANCEL_DEFERRED) {
-      VG_(threads)[tid].cancel_st = True;
+      VG_(threads)[tid].cancel_ty = True;
    } else {
       VG_(panic)("do__set_canceltype");
    }
index 3750398471b89771e046c26046987a2e7be1d831..9db5021e693b6ccbf102003aa10100541c8b730c 100644 (file)
@@ -1848,7 +1848,7 @@ void do__set_canceltype ( ThreadId tid, Int type )
       VG_(threads)[tid].cancel_ty = False;
    } else
    if (type == PTHREAD_CANCEL_DEFERRED) {
-      VG_(threads)[tid].cancel_st = True;
+      VG_(threads)[tid].cancel_ty = True;
    } else {
       VG_(panic)("do__set_canceltype");
    }