INCLUDE_CONFIG_FILE patches

Oliver Fromme olli at lurza.secnetix.de
Mon May 7 20:54:27 UTC 2007


Wojciech A. Koszek wrote:
 > We talked about improved INCLUDE_CONFIG_FILE work some time ago. I
 > cleaned it up, and I have prepared a patch for the latest -CURRENT.
 > 
 > It's here:
 > 
 >         http://people.freebsd.org/~wkoszek/patches/kernconf.patch
 > 
 > If you have any suggestions, please let me know as I'd really like to
 > see this patch into the tree before RELENG_7. 

I'm currently unable to test the patch (lack of a working
7-current machine), but I've had a closer look at the patch
anyway.  Basically it looks very good.

I just have one problem with it.  It seems that it doesn't
preserve comments and the exact formatting of the config
file, right?  (Please correct me if I'm wrong.)  If that's
true, that would be a regression.  The current behaviour
(i.e. with "strings ... | sed ...") reproduces the exact
configuration file, with comments and everything.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'


More information about the freebsd-current mailing list