This commit was manufactured by cvs2git to create branch 'branch_2_0_X'.

Sprout from master 2008-04-22 22:31:42 UTC W.David Dagenhart <sha1-9ca965af9cf1904746014c29a94c3544e5eaff4b@cern.ch> 'Fixes bug reported by Kurt Biery where after an exception under certain circumstances the job would crash instead of ending gracefully.  Also fixed another bug at the same time.  The looper can now handle loops with zero events in them.  Fixed it together because both related are related to how the state machine terminates'
Cherrypick from master 2008-05-11 03:17:58 UTC William Tanenbaum <sha1-faefd172b4369b2002e8f0f7d11f304fd9896b5b@cern.ch> 'Add 'firstFreeID' unsigned int configurable parameter':
    src/InputSource.cc
Use set of product ID's to avoid duplication
Fix for incorrect ProductID for FedRawData