# # # patch "mtn_cvs/options.cc" # from [a8cced08e6bd5382c65de20aa793d10dc841c951] # to [e89af04e97c53b86bbfff144e567a6bfd7535357] # # patch "mtn_cvs/options.hh" # from [0c9da809849ceed8a68531ef3430de54a64ce9ad] # to [c3d069fcf7845b6e8cf8a2819d73e98c69aaee8b] # # patch "mtn_cvs/piece_table.cc" # from [8bb9dfd41386acc9d24c8ead00505113754c2e56] # to [f91003f8ded135319434d64ac50e7a1286bfea67] # ============================================================ --- mtn_cvs/options.cc a8cced08e6bd5382c65de20aa793d10dc841c951 +++ mtn_cvs/options.cc e89af04e97c53b86bbfff144e567a6bfd7535357 @@ -1,9 +1,9 @@ +// Copyright 2006 Timothy Brownawell +// This is made available under the GNU GPL v2 or later. +#include "base.hh" #include -#include -#include - #include "charset.hh" #include "options.hh" #include "platform.hh" @@ -154,6 +154,8 @@ options::options_type const & options::o # define OPTION(optset, name, hasarg, optstring, description) \ options::options_type const & options::opts::name() \ { \ + localize_monotone(); \ + \ static options::options_type val(optstring, \ gettext(description), hasarg, \ &options::set_ ## name , \ ============================================================ --- mtn_cvs/options.hh 0c9da809849ceed8a68531ef3430de54a64ce9ad +++ mtn_cvs/options.hh c3d069fcf7845b6e8cf8a2819d73e98c69aaee8b @@ -1,12 +1,22 @@ +// Copyright 2006 Timothy Brownawell +// This is made available under the GNU GPL v2 or later. + #ifndef __OPTIONS_HH__ #define __OPTIONS_HH__ +/* + * This defines 'struct options', which includes the variables and options + * defined in options_list.hh as members. Options and optsets are available + * statically as options::opts::, and option variables are available + * as options::. + */ + #include #include "option.hh" #include "paths.hh" +#include "dates.hh" - struct options { options(); ============================================================ --- mtn_cvs/piece_table.cc 8bb9dfd41386acc9d24c8ead00505113754c2e56 +++ mtn_cvs/piece_table.cc f91003f8ded135319434d64ac50e7a1286bfea67 @@ -6,7 +6,9 @@ // see the file COPYING for details #include "piece_table.hh" +#include "base.hh" #include "sanity.hh" +#include using namespace std;