No thanks. That breaks my build scripts. I don't want to go logging into
multiple machines just to run make oldconfig when the old system worked
perfectly well.
"perfectly well" here means that make oldconfig worked over ssh, with the
local end logging the stdout to a file as well as the terminal, with stdin
from the terminal. It is quite reasonable to expect the configuration to
continue as normal.
So, here's a patch that adds the necessary fflush to make this situation
work (for me at least.)
diff -u orig/scripts/kconfig/conf.c linux/scripts/kconfig/conf.c
--- orig/scripts/kconfig/conf.c Sat Nov 2 18:58:34 2002
+++ linux/scripts/kconfig/conf.c Fri Nov 1 17:02:19 2002
@@ -115,6 +115,7 @@
exit(1);
}
case ask_all:
+ fflush(stdout);
fgets(line, 128, stdin);
return;
case set_default:
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/