I haven't looked at those files in detail but if you think it is too
much work to make those macros not hardcoded to Apache Httpd then
localizing is probably okay for now.

-George

On 5/10/10 9:03 AM, Mladen Turk wrote:
> Hi,
> 
> Reusing is good, but I found out that one of the
> very handy functions we could use (APR_LAYOUT/APR_ENABLE_LAYOUT)
> has some hard-coded Apache Httpd dependency.
> Namely the package prefix is hard-coded to 'apache2'
> meaning it would need rewrite to be be usable.
> 
> Sure, we could modify that particular function
> and change apache2 to trafficserver plus adding
> pkg* layout options, but then it won't be the
> same file any more.
> 
> Perhaps we could name space protect it, rename
> all functions from APR_ to ATS_ and cleanup those
> files, by removing functions that are not used.
> 
> WDYT?
> 
> 
> Regards

Reply via email to