Accept some unknown store meta entries without throwing away the rest.
The store meta parser stopped when encountering the first "unknown" entry.
This is bad for extensibility. Should continue parsing what we do know
how to handle.
/*
- * $Id: StoreMetaUnpacker.cc,v 1.5 2007/04/30 16:56:09 wessels Exp $
+ * $Id: StoreMetaUnpacker.cc,v 1.5.4.1 2008/02/24 11:28:09 amosjeffries Exp $
*
* DEBUG: section 20 Storage Manager Swapfile Unpacker
* AUTHOR: Robert Collins
StoreMeta *newNode = StoreMeta::Factory(type, length, &buf[position]);
- if (!newNode)
- return false;
-
- tail = StoreMeta::Add (tail, newNode);
+ if (newNode)
+ tail = StoreMeta::Add (tail, newNode);
position += length;