* [PATCH] Allow signed integers in kernelconfig
@ 2003-07-02 13:07 Mikael Starvik
0 siblings, 0 replies; only message in thread
From: Mikael Starvik @ 2003-07-02 13:07 UTC (permalink / raw)
To: kaos, mec; +Cc: linux-kernel
The following patch makes it possible to have signed integers
for kernel configuration parameters (this was allowed before
2.4.21).
/Mikael
diff -u -ru linux/scripts/Configure linux_patch/scripts/Configure
--- linux/scripts/Configure Fri Jun 13 16:51:39 2003
+++ linux_patch/scripts/Configure Wed Jul 2 14:43:19 2003
@@ -350,7 +350,7 @@
def=${old:-$3}
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
- if expr "$ans" : '[0-9]*$' > /dev/null; then
+ if expr "$ans" : '[+-]\?[0-9]*$' > /dev/null; then
define_int "$2" "$ans"
break
else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-02 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 13:07 [PATCH] Allow signed integers in kernelconfig Mikael Starvik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).