Re: [PATCH 2.6.9-rc3] Fix 'htmldocs' and friends with O=

From: Tonnerre
Date: Mon Oct 04 2004 - 19:31:44 EST


Salut,

On Mon, Oct 04, 2004 at 04:39:58PM -0700, Tom Rini wrote:
> --- linux-2.6.9-rc3.orig/scripts/kernel-doc
> +++ linux-2.6.9-rc3/scripts/kernel-doc
> @@ -1531,7 +1531,7 @@ sub process_state3_type($$) {
> }
>
> sub process_file($) {
> - my ($file) = @_;
> + my ($file) = "$ENV{'SRCTREE'}@_";
> my $identifier;
> my $func;
> my $initial_section_counter = $section_counter;

From performance/memory footprint standpoint it might be better to use
the dot operator here for concatenation.

Tonnerre

Attachment: signature.asc
Description: Digital signature