diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 08:57:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 08:57:16 +0000 |
commit | 6d67fd7b5f62960b3a565e4f4c287f31aba4da62 (patch) | |
tree | 90355cfdedc9adfdda56638afdae4eb51dcc8c87 | |
parent | a6df7f2c386bf2d46c41bdc0e15e699753037819 (diff) | |
download | urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.gz urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.bz2 urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.tar.xz urpmi-6d67fd7b5f62960b3a565e4f4c287f31aba4da62.zip |
move the "\n" in the print, it's nicer (but no real speedup)
-rwxr-xr-x | urpmf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,10 +146,10 @@ my $sprintfargs = join(', ', map { my $next_st = $multi ? 'next' : 'return 1'; my @inner = ( - "my \$s = sprintf(qq{$proto\\n}, $sprintfargs);", + "my \$s = sprintf(qq{$proto}, $sprintfargs);", "\$s =~ $expr or $next_st;", $uniq ? ('$uniq{$s} and ' . $next_st . ';', '$uniq{$s} = 1;') : (), - 'print $s;', + 'print $s, "\n";', ); if ($multi) { |