I went ahead and answered my own question by first writing regression tests for auto::gc as it stood, then consolidating all the 'libc'-handling code in one stanza, then re-running the tests. All code is now covered. Refactored module and 6 test files committed in r24248. Resolving ticket.
kid51