Missing Help?

Nick Holloway Nick.Holloway en alfie.demon.co.uk
Sab Ene 29 19:15:37 CST 2000


anders en 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 en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda