Marcin Owsiany wrote:
>  - dh_installxmlcatalogs passing an overly long string to autoscript().
>  
>  I think whatever fix is implemented (unless someone knows an answer to my
>  question above), it will mean a change to dh_installxmlcatalogs. So perhaps
>  this bug should be cloned against xml-core and it should implement its own
>  version of autoscript that is safe for long strings (perhaps just copy
>  autoscript from Dh_Lib and apply the patch below, and remove the extra 
> quoting
>  done in dh_installxmlcatalogs).

Suggestion:

autoscript($package, $script, $filename, sub { s/// });

The 4th parameter being a sub can be detected, and the snippet passed
through it, bypassing sed entirely. Things can migrate over to this new
interface as needed, without possibly breaking the old interface.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to