On Fri, Aug 24, 2007 at 11:36:40PM +0200, Jan Engelhardt wrote:
>
> On Aug 24 2007 23:04, Adrian Bunk wrote:
> >This patch fixes an annoying bug of export_report.pl missing the usages
> >of some exports.
> >
> >Signed-off-by: Adrian Bunk <[email protected]>
> >
> >---
> >
> >This patch has been sent on:
> >- 14 Aug 2007
> >
> >--- a/scripts/export_report.pl
> >+++ b/scripts/export_report.pl
> >@@ -112,7 +112,7 @@ foreach my $thismod (@allcfiles) {
> > next;
> > }
> > if ($state eq 2) {
>
> Perl: == for numbers, eq for strings.
> SH: == for strings, -eq for numbers.
> PHP: == for everything.
I don't care whether it compares strings or numbers as long as it
works...
I'm not the author of this script, and my patch fixes the one annoying
bug I observed when using it.
Feel free to improve the script, but that's unrelated to my bugfix.
> >- if ( $_ !~ /0x[0-9a-f]{7,8},/ ) {
> >+ if ( $_ !~ /0x[0-9a-f]+,/ ) {
>
> I have not looked closer at it, but this looks like it should be
> /0x[0-9a-fA-F]+,/ or
> /0x[0-9a-f]+,/i
>...
You should have looked closer before sending your email.
> Jan
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]