
1. after we get enough jobs in the pidmap, the address of the jobmap pointer array data can move due to realloc. Need to reset the jobs pointer each time through to ensure it is pointing to valid data 2. when we exit the loop, rc will be set to an error due to reading past end of buffer - need to reset so it is ignored 3. need to ensure we only try to read one jobid each time through loop This commit was SVN r20030.