On Wed, 24 Jun 2009, Andrew Sayers wrote:
> When parsing a control file, Dpkg/Deps.pm correctly spots the missing comma in
> this line:
> 
> Build-Depends: foo bar
> But not in this:
> Build-Depends: foo
>  bar
> 
> This is because Dpkg/Deps.pm searches for whitespace using "\s", which doesn't
> match newlines. This commit strips newlines from the Build-Depends line.

The bug is real but your analysis is wrong. \s matches newlines. However
we have a regex used to parse that would succeed by matching "\n" when it
wanted to match the end of string.

Thus I did not use your patch. Thanks for the report anyway !

Cheers,
-- 
Raphaël Hertzog

Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to