Skip to content

Commit

Permalink
fix: fixed a bug that could prevent Argon from starting under certain…
Browse files Browse the repository at this point in the history
… circumstances.
  • Loading branch information
jacopodl committed Dec 9, 2023
1 parent cf878c0 commit b10ab9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.15)
project(Argon VERSION 0.4.0)
project(Argon VERSION 0.4.1)

set(AR_MAJOR ${PROJECT_VERSION_MAJOR})
set(AR_MINOR ${PROJECT_VERSION_MINOR})
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](https://img.shields.io/badge/version-0.4.0--alpha-red)
![](https://img.shields.io/badge/version-0.4.1--alpha-red)
![https://www.apache.org/licenses/LICENSE-2.0](https://img.shields.io/badge/license-apache--2.0-blue)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ArgonLang_Argon&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=ArgonLang_Argon)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=ArgonLang_Argon&metric=bugs)](https://sonarcloud.io/summary/new_code?id=ArgonLang_Argon)
Expand Down
2 changes: 1 addition & 1 deletion argon/vm/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ argon::vm::datatype::String *argon::vm::GetExecutableName() {
#endif

if (size != -1)
path = StringNew(path_buf);
path = StringNew(path_buf, size);
else
path = StringIntern("");

Expand Down

0 comments on commit b10ab9c

Please sign in to comment.