[commit: ghc] master: bugfix: EventCapsetID should be EventThreadID (e97234d)

git at git.haskell.org git at git.haskell.org
Mon Sep 29 13:40:27 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e97234ddeed54c41b0c706b6b3bf6f236e451c7d/ghc

>---------------------------------------------------------------

commit e97234ddeed54c41b0c706b6b3bf6f236e451c7d
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Sat Jul 5 20:56:17 2014 +0100

    bugfix: EventCapsetID should be EventThreadID


>---------------------------------------------------------------

e97234ddeed54c41b0c706b6b3bf6f236e451c7d
 rts/eventlog/EventLog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index a5a100e..b06f824 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -1117,7 +1117,7 @@ void postThreadLabel(Capability    *cap,
 {
     EventsBuf *eb;
     int strsize = strlen(label);
-    int size = strsize + sizeof(EventCapsetID);
+    int size = strsize + sizeof(EventThreadID);
 
     eb = &capEventBuf[cap->no];
 



More information about the ghc-commits mailing list