I see. I'd characterize that as a bug in cc_file.c's handling of the OPENCLOSE flag. I've updated the ticket subject accordingly.