Re: Missing Help?

From: Nick Holloway (Nick.Holloway@alfie.demon.co.uk)
Date: Sat Jan 29 2000 - 12:40:09 EST


anders@alarsen.net (Anders Larsen) writes:
> Horst von Brand wrote:
> > perl scripts/checkhelp.pl $(find . -name "Config*")
> >...
> > QNX4 filesystem support (read only) (EXPERIMENTAL)
> > CONFIG_QNX4FS_FS
>
> Is it possible that your perl script produces false alarms?

There are false alarms caused by the "checkhelp" script not recognising
config items which have white space after the config variable. These help
entries are handled by "config" and "menuconfig".

The only example of this in 2.3.40 is CONFIG_QNX4FS_FS, but here is a
patch to "checkhelp.pl" to catch this.

--- scripts/checkhelp.pl~ Sat Jan 29 17:30:44 2000
+++ scripts/checkhelp.pl Sat Jan 29 17:33:26 2000
@@ -18,7 +18,7 @@
                         $what=$3;
                         $name=$2;
                         s/$3//;
- @found = grep (/$what$/, @options);
+ @found = grep (/$what\s*$/, @options);
                         if ($#found == -1) {
                                 next if $nohelp{$what};
                                 print "$name\n$what\n No help for $what\n\n";

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:24 EST