Time to refresh this version (thought we should rename it I suppose. Not yet revamped for buckets, we won't want to keep them in sync if we get to the stage of eliminating the ap_rputs mechanics from the live module. This remains the classic 'old-style' module for general performance testing.
Stop copying file names that we get from apr_file_t's and apr_dir_t's. We copy the data when we store it in the structures, we can just return a pointer from there, and use const data. This puts the onus back on Apache to copy the data if it needs to modify it.