From ed3452457b33bb7a4b2f0abb3ae1fc53f826bc9e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Sep 2021 21:15:14 +0300 Subject: Adapt to libbutl headers extension change from .mxx to .hxx --- bpkg/auth.cxx | 10 +++++----- bpkg/bpkg.cxx | 2 +- bpkg/checksum.hxx | 2 +- bpkg/database.cxx | 2 +- bpkg/diagnostics.cxx | 4 ++-- bpkg/diagnostics.hxx | 2 +- bpkg/fetch-git.cxx | 12 ++++++------ bpkg/fetch-pkg.cxx | 4 ++-- bpkg/help.cxx | 2 +- bpkg/manifest-utility.cxx | 4 ++-- bpkg/manifest-utility.hxx | 2 +- bpkg/package.hxx | 4 ++-- bpkg/pkg-build.cxx | 4 ++-- bpkg/pkg-command.cxx | 2 +- bpkg/pkg-verify.cxx | 4 ++-- bpkg/rep-create.cxx | 4 ++-- bpkg/rep-fetch.cxx | 2 +- bpkg/rep-info.cxx | 4 ++-- bpkg/rep-remove.cxx | 2 +- bpkg/types.hxx | 38 +++++++++++++++++++------------------- bpkg/utility.cxx | 4 ++-- bpkg/utility.hxx | 16 ++++++++-------- bpkg/wrapper-traits.hxx | 2 +- 23 files changed, 66 insertions(+), 66 deletions(-) diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index ca187ed..93c88f5 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -7,11 +7,11 @@ #include // numeric_limits #include // ostreambuf_iterator -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index 1abe037..92f4bb9 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -10,7 +10,7 @@ #include // set_terminate(), terminate_handler #include // enable_if, is_base_of -#include // backtrace() +#include // backtrace() #include #include diff --git a/bpkg/checksum.hxx b/bpkg/checksum.hxx index fdf6fe5..73f52e8 100644 --- a/bpkg/checksum.hxx +++ b/bpkg/checksum.hxx @@ -4,7 +4,7 @@ #ifndef BPKG_CHECKSUM_HXX #define BPKG_CHECKSUM_HXX -#include +#include #include #include diff --git a/bpkg/database.cxx b/bpkg/database.cxx index aec3459..dd6790a 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include diff --git a/bpkg/diagnostics.cxx b/bpkg/diagnostics.cxx index a471d07..ef87cab 100644 --- a/bpkg/diagnostics.cxx +++ b/bpkg/diagnostics.cxx @@ -7,8 +7,8 @@ #include -#include // process_args -#include // operator<<(ostream, process_*) +#include // process_args +#include // operator<<(ostream, process_*) #include diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index 72fc9ae..6090331 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -8,7 +8,7 @@ #include -#include +#include #include // Note: not diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index 8195375..5c63ea2 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -5,11 +5,11 @@ #include -#include -#include // path_entry -#include -#include -#include // parse_standard_version() +#include +#include // path_entry +#include +#include +#include // parse_standard_version() #include @@ -2364,7 +2364,7 @@ namespace bpkg // "elevated console mode": // // - file symlinks are currently not supported (see - // libbutl/filesystem.mxx for details). + // libbutl/filesystem.hxx for details). // // - git creates symlinks to directories, rather than junctions. This // makes things to fall apart as Windows API seems to be unable to diff --git a/bpkg/fetch-pkg.cxx b/bpkg/fetch-pkg.cxx index 81d4131..6d9e921 100644 --- a/bpkg/fetch-pkg.cxx +++ b/bpkg/fetch-pkg.cxx @@ -5,8 +5,8 @@ #include -#include // cpfile () -#include +#include // cpfile () +#include #include #include diff --git a/bpkg/help.cxx b/bpkg/help.cxx index 20b3805..ed0f58a 100644 --- a/bpkg/help.cxx +++ b/bpkg/help.cxx @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index 9b8cbca..bad4659 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -5,8 +5,8 @@ #include // strcspn() -#include -#include +#include +#include #include // wildcard_version #include diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index 8ef517e..69d8326 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -118,7 +118,7 @@ namespace bpkg // // Note that if a package directory is under the version control, then the // resulting version may be populated with the snapshot information (see - // libbutl/standard-version.mxx for more details). Thus, this function can + // libbutl/standard-version.hxx for more details). Thus, this function can // be used for fixing up the package manifest versions. // class common_options; diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 9a42f62..22d30a5 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -13,7 +13,7 @@ #include #include -#include +#include #include @@ -73,7 +73,7 @@ namespace bpkg std::chrono::nanoseconds::period>::value, "The following timestamp ODB mapping is invalid"); - // As pointed out in libbutl/timestamp.mxx we will overflow in year 2262, but + // As pointed out in libbutl/timestamp.hxx we will overflow in year 2262, but // by that time some larger basic type will be available for mapping. // #pragma db map type(timestamp) as(uint64_t) \ diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index 6661109..51bd224 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -9,8 +9,8 @@ #include // strlen() #include // cout -#include -#include +#include +#include #include #include diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index 6bec97b..668aca1 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index 03f854e..aae1b43 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -5,8 +5,8 @@ #include // cout -#include -#include +#include +#include #include #include diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index f47bc09..d820836 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -5,8 +5,8 @@ #include -#include // dir_iterator -#include +#include // dir_iterator +#include #include #include diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index d2931ca..73c9058 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 0000557..a5d79eb 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -5,8 +5,8 @@ #include // cout -#include // sha256_to_fingerprint() -#include +#include // sha256_to_fingerprint() +#include #include diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx index 5dab94b..601d291 100644 --- a/bpkg/rep-remove.cxx +++ b/bpkg/rep-remove.cxx @@ -5,7 +5,7 @@ #include -#include // dir_iterator +#include // dir_iterator #include #include diff --git a/bpkg/types.hxx b/bpkg/types.hxx index 8f6d9df..a8cd0f4 100644 --- a/bpkg/types.hxx +++ b/bpkg/types.hxx @@ -21,18 +21,18 @@ #include -#include -#include -#include +#include +#include +#include #include #include -#include -#include // icase_compare_string, +#include +#include // icase_compare_string, // compare_reference_target -#include -#include -#include -#include +#include +#include +#include +#include namespace bpkg { @@ -56,7 +56,7 @@ namespace bpkg using std::weak_ptr; using std::vector; - using butl::small_vector; // + using butl::small_vector; // using strings = vector; using cstrings = vector; @@ -73,17 +73,17 @@ namespace bpkg using std::system_error; using io_error = std::ios_base::failure; - // + // // using butl::icase_compare_string; using butl::compare_reference_target; - // + // // using butl::optional; using butl::nullopt; - // + // // using butl::path; using butl::dir_path; @@ -95,15 +95,15 @@ namespace bpkg using paths = vector; using dir_paths = vector; - // + // // using butl::uuid; - // + // // using butl::url; - // + // // using butl::process; using butl::process_env; @@ -111,7 +111,7 @@ namespace bpkg using butl::process_exit; using butl::process_error; - // + // // using butl::auto_fd; using butl::nullfd; @@ -120,13 +120,13 @@ namespace bpkg using butl::ofdstream; using butl::fdstream_mode; - // + // // using butl::default_options_files; using butl::default_options_entry; using butl::default_options; - // + // // using package_info = butl::b_project_info; diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index 39dea81..4d72d7b 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -3,8 +3,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index dabffbe..1f6027d 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -15,10 +15,10 @@ #include -#include // icasecmp(), reverse_iterate(), etc -#include -#include -#include +#include // icasecmp(), reverse_iterate(), etc +#include +#include +#include #include #include @@ -38,7 +38,7 @@ namespace bpkg using std::strcmp; using std::strchr; - // + // // using butl::icasecmp; using butl::reverse_iterate; @@ -55,16 +55,16 @@ namespace bpkg using butl::setenv; using butl::unsetenv; - // + // // using butl::process_start_callback; - // + // // using butl::auto_rmfile; using butl::auto_rmdir; - // + // // using butl::load_default_options; using butl::merge_default_options; diff --git a/bpkg/wrapper-traits.hxx b/bpkg/wrapper-traits.hxx index 0288a9d..668c171 100644 --- a/bpkg/wrapper-traits.hxx +++ b/bpkg/wrapper-traits.hxx @@ -4,7 +4,7 @@ #ifndef BPKG_WRAPPER_TRAITS_HXX #define BPKG_WRAPPER_TRAITS_HXX -#include +#include #include -- cgit v1.1