#7491: getNumCapabilities uses n_capabilities instead of enabled_capabilities
----------------------------------------+-----------------------------------
Reporter:  Yuras                        |          Owner:                  
    Type:  bug                          |         Status:  new             
Priority:  normal                       |      Component:  libraries/base  
 Version:  7.6.1                        |       Keywords:                  
      Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
 Failure:  Incorrect result at runtime  |      Blockedby:                  
Blocking:                               |        Related:                  
----------------------------------------+-----------------------------------
 setNumCapabilities newer removes capabilities, it just disables them when
 new value is less the the current one. In that case getNumCapabilities
 returns wrong result.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7491>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to