]> git.tdb.fi Git - builder.git/commit
Store lookup failures separately from the package map
authorMikko Rasa <tdb@tdb.fi>
Wed, 15 Aug 2012 16:15:19 +0000 (19:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 15 Aug 2012 16:24:33 +0000 (19:24 +0300)
commit7c61a1e64153bac91431e1a72d946208dd61eb30
treeb9e2da92beed4eb84d5910b63065429023da5a62
parent241934daad13f83e86983b474dcadb0190e1cf0b
Store lookup failures separately from the package map

This ensures that every pointer in the package map is valid, avoiding the
need to check them and preventing segfaults due to a forgotten check.
source/builder.cpp
source/packagemanager.cpp
source/packagemanager.h