Date: Tue, 29 Nov 2005 22:54:49 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/config main.c Message-ID: <200511292254.jATMsndq055011@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-11-29 22:54:49 UTC FreeBSD src repository Modified files: usr.sbin/config main.c Log: The DEFAULTS changes caused the user specified config file to be opened much later than before, and it is now after we do a mkdir ../compile/FILE. As a result, if you do 'config DOESNOTEXIST', it now creates the directory ../config/DOESNOTEXIST. It did not do that before. If DEFAULTS does not exist, it still fails early before any permanent changes. This shameless hack restores the old behavior of ensuring the config file actually exists before mkdiring its counterpart directory. Now I can rmdir ../compile/D and it will stay dead, after my fingers keep sabotaging me with 'config D<tab><enter>'. (Some of my kernel names started with D, which used to be 1-character unique and my fingers knew this very well...) Revision Changes Path 1.68 +5 -0 src/usr.sbin/config/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511292254.jATMsndq055011>