Update core/os/os_netbsd.odin

Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
Yuriy Grynevych
2024-09-19 00:11:12 +03:00
committed by GitHub
parent cbf0471c72
commit 568705069c
+1
View File
@@ -895,6 +895,7 @@ get_env :: proc(key: string, allocator := context.allocator) -> (value: string)
@(require_results)
get_current_directory :: proc(allocator := context.allocator) -> string {
context.allocator = allocator
// NOTE(tetra): I would use PATH_MAX here, but I was not able to find
// an authoritative value for it across all systems.
// The largest value I could find was 4096, so might as well use the page size.