Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 02:29:56 +0000 (UTC)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: projects/csup config.c config.h main.c parse.y proto.c
Message-ID:  <200603010229.k212TuDr086909@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2006-03-01 02:29:56 UTC

  FreeBSD projects repository

  Modified files:
    csup                 config.c config.h main.c parse.y proto.c 
  Log:
  - Introduce a new coll_override() function to override a collection with
    another one.
  - Use the new coll_override() in main() to remember the command line
    options that force an option or a value in all collections.  Pass it
    to config_init() instead of all those boolean flags.
  - Shuffle some code in config_init() to make it a bit nicer and more
    close to what is done in CVSup.
  - Make it so the struct config is not a global variable and properly
    free() it along with all the collections after we are finished
    updating.  The list of collections is still static and copied in the
    struct config once built, because of yacc.
  - Now that it's easy (one line to add) to do so, implement the -i option.
    This is used to restrict the updates to files that match the provided
    pattern (multiple patterns can be provided with multimple -i flags,
    and they will be OR'ed together).
  
  Revision  Changes    Path
  1.45      +162 -104  projects/csup/config.c
  1.33      +8 -3      projects/csup/config.h
  1.33      +37 -14    projects/csup/main.c
  1.15      +2 -7      projects/csup/parse.y
  1.82      +3 -2      projects/csup/proto.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603010229.k212TuDr086909>