From 2ff08ea4db1d38556282bd68751a421e1ecfe0bb Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Thu, 3 Mar 2022 11:49:42 +0100 Subject: [PATCH 1/2] Change back history file .RpnHistory to .rpn_history --- src/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cc b/src/main.cc index 95b2657..e8f512b 100644 --- a/src/main.cc +++ b/src/main.cc @@ -18,7 +18,7 @@ static void ExitInteractive() { struct passwd* pw = getpwuid(getuid()); if (pw != nullptr) { stringstream history_path; - history_path << pw->pw_dir << "/.RpnHistory"; + history_path << pw->pw_dir << "/.rpn_history"; // trunc current history ofstream history(history_path.str(), ios_base::out | ios_base::trunc); @@ -38,7 +38,7 @@ static void EnterInteractive() { struct passwd* pw = getpwuid(getuid()); if (pw != nullptr) { stringstream history_path; - history_path << pw->pw_dir << "/.RpnHistory"; + history_path << pw->pw_dir << "/.rpn_history"; // don't care about errors linenoiseHistorySetMaxLen(100); From 57fd88ab942feb4f9e42dadf5a458a207480991e Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Thu, 3 Mar 2022 11:50:25 +0100 Subject: [PATCH 2/2] github workflow works on develop branch --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index dd65948..ce92cf4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -2,7 +2,7 @@ name: CMake on: pull_request: - branches: [ v2.4.0-devel, master ] + branches: [ develop, master ] env: BUILD_TYPE: Release