[haiku-bugs] Re: [Haiku] #5822: [PATCH] Boot failure due to 64 MB default memory size

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 02 May 2010 18:07:49 -0000

#5822: [PATCH] Boot failure due to 64 MB default memory size
--------------------------------+-------------------------------------------
 Reporter:  andreasf            |       Owner:  bonefish      
     Type:  bug                 |      Status:  assigned      
 Priority:  normal              |   Milestone:  R1            
Component:  System/Boot Loader  |     Version:  R1/Development
 Keywords:                      |   Blockedby:                
 Platform:  x86                 |    Blocking:                
--------------------------------+-------------------------------------------

Comment(by axeld):

 Looks great, thanks! Just one suggestion: instead of writing:
 {{{if (a & b)}}}
 write:
 {{{if ((a & b) != 0)}}}
 as the former does not behave as you want when adding another term to the
 clause due to operator precedence, and is a very common source of errors
 (I've already fixed a ton of those in our repository).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5822#comment:25>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: