« Previous | Next » 

Revision 37482e7b


Added by Guido Trotter over 16 years ago

Make the OS object able to represent broken OSes

Till now the OS object just represents a correct OS instance. Change it so it
can represent a broken one too, by adding a "status" field: if this field is
different from the OS_VALID_STATUS constant the object is considered to be an
invalid OS, the "status" field to be a debugging message, and its boolean
status is set to false.

Reviewed-By: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences