cvs commit: src/usr.sbin/config main.c

Peter Wemm peter at
Tue Nov 29 22:54:54 GMT 2005

peter       2005-11-29 22:54:49 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/config      main.c 
  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

More information about the cvs-src mailing list