diff options
| -rw-r--r-- | ttt.jai | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1211,18 +1211,18 @@ main :: () { { // Initialize app directory. - home_dir, success := get_home_directory(); + home_dir, success := get_home_directory(); // Returns system owned memory. if success == false { home_dir = "."; } - app_directory, success = get_absolute_path(home_dir); // TODO Returned in the temporary allocator. + app_directory, success = get_absolute_path(home_dir); // TODO Returns temporary memory. if success == false { print_error("Failed to find home directory '%'.", home_dir); return; } - app_directory = join(app_directory, "/", APP_FOLDER_NAME, allocator = temp); + app_directory = join(app_directory, "/", APP_FOLDER_NAME, allocator = temp); // TODO Change to default allocator because we want to keep this during runtime. // TODO DEBUG // Check what's going on with the temp allocator: // Is it really the responsible for these paths? @@ -1233,8 +1233,8 @@ main :: () { // print_error("Failed to create app directory '%'.", app_directory); // return; // } - db_file_path = join(app_directory, "/", DB_FILE_NAME, allocator = temp); - ar_file_path = join(app_directory, "/", AR_FILE_NAME, allocator = temp); + db_file_path = join(app_directory, "/", DB_FILE_NAME, allocator = temp); // TODO Change to default allocator because we want to keep this during runtime. + ar_file_path = join(app_directory, "/", AR_FILE_NAME, allocator = temp); // TODO Change to default allocator because we want to keep this during runtime. } return; // TODO DEBUG |
