kconfig: support DOS line endings
authorMatthew Wilcox <matthew@wil.cx>
Thu, 13 Jul 2006 18:54:07 +0000 (12:54 -0600)
committerSam Ravnborg <sam@neptun.ravnborg.org>
Mon, 25 Sep 2006 07:00:00 +0000 (09:00 +0200)
commitd3660a8cbdfad620af88b85b7bbfff29160f14c2
treec79e6a3362e0e0831cf3a9b0b8bd9a3b7a7e79f1
parent4f5537de7c1531398e84e18a24f667e49cc94208
kconfig: support DOS line endings

Kconfig doesn't currently handle config files with DOS line endings.
While these are, of course, an abomination, etc, etc, it can be handy
to not have to convert them first.  It's also a tiny patch and even adds
support for lines ending in just \r or even \n\r.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/confdata.c