Ticket #5932: 0002-Fix-closure_type_names-BLACKHOLE-and-BLOCKING_QUEUE-.patch

File 0002-Fix-closure_type_names-BLACKHOLE-and-BLOCKING_QUEUE-.patch, 892 bytes (added by nomeata, 2 years ago)
  • rts/Printer.c

    From 323a0d9e684719cb7140fbfd77e4a68c0dc581ee Mon Sep 17 00:00:00 2001
    From: Joachim Breitner <mail@joachim-breitner.de>
    Date: Mon, 12 Mar 2012 11:21:05 +0100
    Subject: [PATCH 2/2] Fix closure_type_names, BLACKHOLE and BLOCKING_QUEUE
     were swapped
    
    ---
     rts/Printer.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/rts/Printer.c b/rts/Printer.c
    index 0084271..688ed7b 100644
    a b char *closure_type_names[] = { 
    11071107 [CATCH_FRAME]           = "CATCH_FRAME", 
    11081108 [UNDERFLOW_FRAME]       = "UNDERFLOW_FRAME", 
    11091109 [STOP_FRAME]            = "STOP_FRAME", 
    1110  [BLACKHOLE]             = "BLACKHOLE", 
    11111110 [BLOCKING_QUEUE]        = "BLOCKING_QUEUE", 
     1111 [BLACKHOLE]             = "BLACKHOLE", 
    11121112 [MVAR_CLEAN]            = "MVAR_CLEAN", 
    11131113 [MVAR_DIRTY]            = "MVAR_DIRTY", 
    11141114 [ARR_WORDS]             = "ARR_WORDS",