apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: Memory Renaming (try 2)
Date Fri, 11 May 2001 21:49:44 GMT
On Fri, 11 May 2001, Luke Kenneth Casson Leighton wrote:
 
> [clearer hierarchy.  4 months ago there was a mad-perl-script
> hack-against-the-code to turn all names around :) ]

that script is still here:
http://perl.apache.org/~dougm/apr_rename.pl

just nuke everything after the __DATA__ token, then add the new renames in
the form of:
apr_old_name   apr_new_name

and run in the top-level directory.
the 'apr_type_t:' were just there for documentation and are ignored by
the script, not required to run the script.

also, if you want to include more than just *.[ch] files, change this
line:
return unless /\.[ch]$/;

to something like:

return unless /\.(c|h|exp)$/;


Mime
View raw message