Merge pull request #260 from louisrubet/develop

v2.4.1
This commit is contained in:
Louis Rubet 2022-03-03 12:07:13 +01:00 committed by GitHub
commit d416db330c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ name: CMake
on:
pull_request:
branches: [ v2.4.0-devel, master ]
branches: [ develop, master ]
env:
BUILD_TYPE: Release

View file

@ -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);